Aareon / ChickenTicket

Pure Python implementation of a cryptocurrency blockchain
MIT License
15 stars 2 forks source link

Fix `threading` usage in SimpleGUI #46

Closed Aareon closed 3 months ago

Aareon commented 1 year ago

The library PySimpleGui does not support being sub-threaded. Applications may use threads, but PySimpleGui must not be called by any thread other than the "main" thread.

Aareon commented 1 year ago

Optimally, it should be as simple as combining the run and _main functions inside App and remove the gui_thread in lieu of simply calling App.run()

Aareon commented 3 months ago

Abandoned