Properly cleanup OCS jobs
authorRoeland Jago Douma <rullzer@owncloud.com>
Thu, 29 Oct 2015 12:57:22 +0000 (13:57 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Thu, 29 Oct 2015 14:42:25 +0000 (15:42 +0100)
src/gui/ocsjob.cpp

index 76c16051fad283a5be5925980fcd9ace45562e67..bafa94c6b41e3738208c1a2dbb41c9e563e15fdc 100644 (file)
@@ -108,6 +108,7 @@ bool OcsJob::finished()
     }
 
     emit jobFinished(json);
+    deleteLater();
     return true;
 }