mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-10-26 19:01:43 -04:00
remove signal handler which is unsupported on windows 11
This commit is contained in:
parent
d91080e558
commit
833303d4c7
1 changed files with 0 additions and 4 deletions
4
web.py
4
web.py
|
|
@ -3,7 +3,6 @@
|
|||
import argparse
|
||||
import json
|
||||
import os
|
||||
import signal
|
||||
from datetime import datetime, timezone
|
||||
from typing import Callable, List
|
||||
|
||||
|
|
@ -246,9 +245,6 @@ class ReticulumWebChat:
|
|||
"message": "ok",
|
||||
})
|
||||
|
||||
asyncio.get_event_loop().add_signal_handler(signal.SIGINT, lambda: exit(-1))
|
||||
asyncio.get_event_loop().add_signal_handler(signal.SIGTERM, lambda: exit(-1))
|
||||
|
||||
# create and run web app
|
||||
app = web.Application()
|
||||
app.add_routes(routes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue