mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 01:21:14 -06:00
Test out always closing the inotify
This commit is contained in:
@@ -354,6 +354,6 @@ class Command(BaseCommand):
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
logger.info("Received SIGINT, stopping inotify")
|
logger.info("Received SIGINT, stopping inotify")
|
||||||
finished = True
|
finished = True
|
||||||
|
finally:
|
||||||
inotify.rm_watch(descriptor)
|
inotify.rm_watch(descriptor)
|
||||||
inotify.close()
|
inotify.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user