mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-02 03:48:03 +03:00
Add threading type condition for win32session daemon
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -49,7 +49,9 @@ class _Win32Session:
|
||||
import win32session
|
||||
|
||||
if win32session.off():
|
||||
self._daemonThread.join()
|
||||
if isinstance(self._daemonThread, threading.Thread):
|
||||
self._daemonThread.join()
|
||||
|
||||
# Reset it
|
||||
self._daemonThread = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user