Files
pallectrum/electrum
SomberNight 90f39bce88 run_electrum: have daemon manage Plugins object, and call Plugins.stop
Plugins.stop was never called, so the Plugins thread only stopped
because of the is_running() check in run(), which triggers too late:
the Plugins thread was stopping after the main thread stopped.

E.g. playing around in the qt wizard with wallet creation for a Trezor,
and closing the wizard (only window):
``` 24.85 | E | p/plugin.Plugins |
Traceback (most recent call last):
  File "/home/user/wspace/electrum/electrum/util.py", line 386, in run_jobs
    job.run()
  File "/home/user/wspace/electrum/electrum/plugin.py", line 430, in run
    client.timeout(cutoff)
  File "/home/user/wspace/electrum/electrum/plugin.py", line 363, in wrapper
    return run_in_hwd_thread(partial(func, *args, **kwargs))
  File "/home/user/wspace/electrum/electrum/plugin.py", line 355, in run_in_hwd_thread
    fut = _hwd_comms_executor.submit(func)
  File "/usr/lib/python3.10/concurrent/futures/thread.py", line 167, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')
RuntimeError: cannot schedule new futures after shutdown
```
2023-08-24 17:15:14 +00:00
..
2023-08-24 12:09:59 +02:00
2023-08-22 14:50:30 +00:00
2023-08-18 08:52:02 +02:00
2023-06-01 22:59:40 +00:00
2023-08-18 08:08:31 +02:00
2023-06-28 16:49:28 +02:00
2023-05-25 17:39:48 +00:00
2023-08-15 16:34:48 +00:00
2023-04-24 12:58:01 +00:00
2023-04-24 12:58:01 +00:00
2023-05-16 10:06:55 +02:00
2023-04-24 12:58:01 +00:00
2023-08-18 08:08:31 +02:00
2023-08-18 08:08:31 +02:00
2023-05-25 17:39:48 +00:00
2023-08-14 09:58:17 +02:00
2023-08-22 17:00:17 +00:00
2023-07-11 12:51:37 +02:00
2023-04-24 12:58:26 +00:00
2023-04-19 22:31:08 +00:00
2023-04-24 12:58:01 +00:00
2023-05-25 17:39:48 +00:00
2023-08-18 08:08:31 +02:00
2023-08-18 08:08:31 +02:00
2023-08-22 14:50:30 +00:00
2023-06-28 16:49:28 +02:00