auto: update RTK rover/base + config (2026-05-01 16:49:36)
This commit is contained in:
@@ -516,13 +516,16 @@ class Recorder:
|
|||||||
self.csv_fh.flush()
|
self.csv_fh.flush()
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
with self.lock:
|
# Do not call self.stop() while holding self.lock:
|
||||||
|
# stop() also takes the same lock -> deadlock with threading.Lock.
|
||||||
try:
|
try:
|
||||||
if self.session_id:
|
if self.session_id:
|
||||||
self.stop()
|
self.stop()
|
||||||
finally:
|
finally:
|
||||||
try: self.conn.close()
|
try:
|
||||||
except: pass
|
self.conn.close()
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
# -------------------- UI helpers --------------------
|
# -------------------- UI helpers --------------------
|
||||||
def fix_type_str(pvt) -> str:
|
def fix_type_str(pvt) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user