Don't close BitmessageQtApplication.server in __del__()
This commit is contained in:
parent
cf36bc4551
commit
6817d8d030
|
@ -4242,10 +4242,6 @@ class BitmessageQtApplication(QtWidgets.QApplication):
|
||||||
|
|
||||||
self.setStyleSheet("QStatusBar::item { border: 0px solid black }")
|
self.setStyleSheet("QStatusBar::item { border: 0px solid black }")
|
||||||
|
|
||||||
def __del__(self):
|
|
||||||
if self.server:
|
|
||||||
self.server.close()
|
|
||||||
|
|
||||||
def on_new_connection(self):
|
def on_new_connection(self):
|
||||||
if myapp:
|
if myapp:
|
||||||
myapp.appIndicatorShow()
|
myapp.appIndicatorShow()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user