Skip to content

Commit

Permalink
fix: main event loop crashes from remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaisberg authored and Gaisberg committed Aug 14, 2024
1 parent c7cf951 commit f07c851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/program/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def run(self):
if settings_manager.settings.notifications.enabled:
notify_on_complete(processed_item)

self.em._running_events.remove(event)
self.em.remove_item_from_running(event.item)

if items_to_submit:
for item_to_submit in items_to_submit:
Expand Down

0 comments on commit f07c851

Please sign in to comment.