qml_bridge: remove old signal code

This commit is contained in:
miruka 2020-07-24 00:22:51 -04:00
parent 87ad3ccab1
commit 3a7ad5859f

View File

@ -14,10 +14,8 @@ class.
"""
import asyncio
import atexit
import logging as log
import os
import signal
import traceback
from concurrent.futures import Future
from operator import attrgetter
@ -165,14 +163,6 @@ for var in ("LD_LIBRARY_PATH", "PYTHONHOME", "PYTHONUSERBASE"):
os.environ[var] = os.environ[f"RESTORE_{var}"]
# Make CTRL-C work again
try:
signal.signal(signal.SIGINT, signal.SIG_DFL)
except ValueError:
# FIXME - happens when we're imported from a thread,
# occurs in py3.8 but not 3.6?
pass
BRIDGE = QMLBridge()
pyotherside.atexit(BRIDGE.exit)