Issue
When syncing a lot of file and hitting CTRL+C to force-quit the application, this will not work. At least, not quickly.
Analysis
Qt does not process queue events until the synchronizer gave up. And it may take some time.
Fix
After calling QApplication.quit(), we should also call QApplication.processEvents() to process remaining Qt events and finally close the application.
- is related to
-
NXDRIVE-1814 Gracefully exit the application on CTRL+C
- Resolved