Skip to content

Commit ef48cba

Browse files
committed
Change on_message process method without using threads
1 parent da803dd commit ef48cba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

charon/pkgs/radas_signature_handler.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ def on_message(self, event: Event) -> None:
6464
"""
6565
On message callback
6666
"""
67-
# handle response from radas in a thread
68-
thread = threading.Thread(target=self._process_message, args=[event.message.body])
69-
thread.start()
67+
self._process_message(event.message.body)
7068

7169
def on_connection_error(self, event: Event) -> None:
7270
"""

0 commit comments

Comments
 (0)