mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-22 23:17:26 -04:00
fix thread cleanup
This commit is contained in:
parent
ccd53012f5
commit
82469c6502
2 changed files with 5 additions and 5 deletions
|
@ -87,10 +87,10 @@ func store_buffer(buffer: PackedByteArray) -> void:
|
||||||
|
|
||||||
|
|
||||||
func cleanup() -> void:
|
func cleanup() -> void:
|
||||||
pipe["stdio"].close()
|
if pipe.has("stdio"): pipe["stdio"].close()
|
||||||
pipe["stderr"].close()
|
if pipe.has("stderr"): pipe["stderr"].close()
|
||||||
if thread1 != null: thread1.wait_to_finish()
|
if thread1 != null and thread1.is_started(): thread1.wait_to_finish()
|
||||||
if thread2 != null: thread2.wait_to_finish()
|
if thread2 != null and thread2.is_started(): thread2.wait_to_finish()
|
||||||
|
|
||||||
|
|
||||||
# FLUSH AND SEND LOGS
|
# FLUSH AND SEND LOGS
|
||||||
|
|
2
godot
2
godot
|
@ -1 +1 @@
|
||||||
Subproject commit 2a33640b1ecc3db0a096371ada661260fcc0a7e1
|
Subproject commit 252a23ed785801804bc0e91ca7b9bb5f11354df5
|
Loading…
Add table
Add a link
Reference in a new issue