Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #72 from you-win/fix-auto-shutdown-tracker
Browse files Browse the repository at this point in the history
fix closing tracker on shutdown

Former-commit-id: 238517c
  • Loading branch information
you-win authored Nov 28, 2021
2 parents 08d43c4 + e501f93 commit e5afb28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/OpenSeeGD.gd
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ func _on_toggle_tracker() -> void:
else:
# always shutdown receiver and tracker
stop_receiver()
_stop_tracker()
is_tracking = false

if was_tracking != is_tracking:
Expand Down Expand Up @@ -405,6 +404,7 @@ func stop_receiver() -> void:
if stop_reception:
return

_stop_tracker()
stop_reception = true

if receive_thread.is_active():
Expand Down

0 comments on commit e5afb28

Please sign in to comment.