mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-05-11 14:41:17 -07:00
Changed profiler to context manager
This commit is contained in:
@@ -162,8 +162,8 @@ class Reticulum:
|
||||
RNS.Transport.exit_handler()
|
||||
RNS.Identity.exit_handler()
|
||||
|
||||
if RNS.profiler_ran:
|
||||
RNS.profiler_results()
|
||||
if RNS.Profiler.ran():
|
||||
RNS.Profiler.results()
|
||||
|
||||
@staticmethod
|
||||
def sigint_handler(signal, frame):
|
||||
|
||||
Reference in New Issue
Block a user