tset daemon flag on get_payment_request thread - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit fbf56c9cfa56b17ba1aa6af7c25117257fe06462 DIR parent 7796243fdd84b1b56a227a8e939cdb440c9d1b38 HTML Author: ThomasV <thomasv@gitorious> Date: Tue, 14 Apr 2015 16:37:02 +0200 set daemon flag on get_payment_request thread Diffstat: M gui/qt/main_window.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1154,7 +1154,9 @@ class ElectrumWindow(QMainWindow): else: self.emit(SIGNAL('payment_request_error')) - self.pr_thread = threading.Thread(target=get_payment_request_thread).start() + t = threading.Thread(target=get_payment_request_thread) + t.setDaemon(True) + t.start() self.prepare_for_payment_request()