diff options
| -rw-r--r-- | odoo/service/server.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/odoo/service/server.py b/odoo/service/server.py index cff0a3f8896..6a52f46ef3d 100644 --- a/odoo/service/server.py +++ b/odoo/service/server.py @@ -296,6 +296,7 @@ class FSWatcherInotify(FSWatcherBase): def stop(self): self.started = False self.thread.join() + del self.watcher # ensures inotify watches are freed up before reexec #---------------------------------------------------------- |
