kopia lustrzana https://github.com/Yakifo/amqtt
Merge pull request #98 from aosadchyy/master
Fix occasional exception while processing another exception.pull/8/head
commit
bcf21bb92b
|
@ -141,7 +141,7 @@ class PluginManager:
|
||||||
def clean_fired_events(future):
|
def clean_fired_events(future):
|
||||||
try:
|
try:
|
||||||
self._fired_events.remove(task)
|
self._fired_events.remove(task)
|
||||||
except ValueError:
|
except (KeyError, ValueError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
task.add_done_callback(clean_fired_events)
|
task.add_done_callback(clean_fired_events)
|
||||||
|
|
Ładowanie…
Reference in New Issue