diff --git a/protocol.py b/protocol.py index 49345643..ea7bfaf6 100644 --- a/protocol.py +++ b/protocol.py @@ -32,7 +32,9 @@ class GenericProtocolHandler(object): def event(self, url): self.lastpayload = url - self.master.event_generate('<>', when="tail") + + if not config.shutting_down(): + self.master.event_generate('<>', when="tail") if sys.platform == 'darwin' and getattr(sys, 'frozen', False):