Skip to content

Commit e9dee31

Browse files
authored
Merge pull request #2597 from ales-erjavec/disable-pyqtgraph-exit-handlers
[FIX] Disable pyqtgraph's exit cleanup handler
2 parents 76916db + 7781ca8 commit e9dee31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Orange/canvas/__main__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
import signal
4747
signal.signal(signal.SIGINT, signal.SIG_DFL)
4848

49+
# Disable pyqtgraph's atexit and QApplication.aboutToQuit cleanup handlers.
50+
import pyqtgraph
51+
pyqtgraph.setConfigOption("exitCleanup", False)
52+
4953

5054
def fix_osx_10_9_private_font():
5155
# Fix fonts on Os X (QTBUG 47206, 40833, 32789)

0 commit comments

Comments
 (0)