fix for blocking file eraser on e2 shutdown
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sun, 31 Dec 2006 16:16:01 +0000 (16:16 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sun, 31 Dec 2006 16:16:01 +0000 (16:16 +0000)
lib/components/file_eraser.cpp

index ea68eb4..eb9c82f 100644 (file)
@@ -29,6 +29,7 @@ eBackgroundFileEraser::~eBackgroundFileEraser()
        messages.send(Message::quit);
        if (instance==this)
                instance=0;
+       kill();  // i dont understand why this is needed .. in ~eThread::eThread is a kill() to..
 }
 
 void eBackgroundFileEraser::thread()