Merge pull request #98 from aosadchyy/master

Fix occasional exception while processing another exception.
pull/8/head
Nicolas 2017-11-05 10:29:23 +01:00 zatwierdzone przez GitHub
commit bcf21bb92b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -141,7 +141,7 @@ class PluginManager:
def clean_fired_events(future):
try:
self._fired_events.remove(task)
except ValueError:
except (KeyError, ValueError):
pass
task.add_done_callback(clean_fired_events)