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