DokanMain() now returns after unmount
This commit is contained in:
@@ -896,8 +896,7 @@ public:
|
||||
{
|
||||
while (!DokanRemoveMountPoint(&_mountPoint[0]))
|
||||
::Sleep(1000);
|
||||
// HACK - DokanMain() never returns
|
||||
::TerminateThread(_mountThread->native_handle(), -1);
|
||||
|
||||
_mountThread->join();
|
||||
_mountThread.reset(nullptr);
|
||||
_mountPoint = "";
|
||||
|
Reference in New Issue
Block a user