Skip to content

Commit

Permalink
paramedit: set needs_unloading earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Aug 5, 2019
1 parent e7faf63 commit 6fad368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MAVProxy/modules/mavproxy_paramedit/param_editor.py
Expand Up @@ -95,6 +95,7 @@ def __init__(self, mpstate):

self.mpstate = mpstate
self.mpstate.param_editor = self
self.needs_unloading = False

self.child = multiproc.Process(
target=self.child_task,
Expand All @@ -115,7 +116,6 @@ def __init__(self, mpstate):
self.mavlink_message_queue_handler = threading.Thread(
target=self.mavlink_message_queue_handler)
self.mavlink_message_queue_handler.start()
self.needs_unloading = False

def mavlink_message_queue_handler(self):
while not self.time_to_quit:
Expand Down

0 comments on commit 6fad368

Please sign in to comment.