diff --git a/src/onionrcommands/daemonlaunch/__init__.py b/src/onionrcommands/daemonlaunch/__init__.py index 0471af92..d58dacda 100755 --- a/src/onionrcommands/daemonlaunch/__init__.py +++ b/src/onionrcommands/daemonlaunch/__init__.py @@ -85,10 +85,13 @@ def daemon(): try: while True: + # Mainly for things like repls + events.event('primary_loop', threaded=False) sleep(60) except KeyboardInterrupt: pass + cleanup.delete_run_files() if security_level >= 2: filenuke.nuke.clean_tree(identifyhome.identify_home())