Release v0.34.0 — Series-4 parity, and most of Blastware's report from the event file alone #59
+2
-4
@@ -357,13 +357,11 @@ def _run_with_retry(fn, *, is_tcp: bool):
|
||||
# same contract for Series 3 and 4. Without `serial`, handlers run their
|
||||
# legacy Series-3 path unchanged (spec 2026-10-20).
|
||||
|
||||
_device_access_instance: Optional[DeviceAccess] = None
|
||||
# Constructing it does no I/O and starts no thread until a Series-4 session exists.
|
||||
_device_access_instance: DeviceAccess = DeviceAccess()
|
||||
|
||||
|
||||
def _device_access() -> DeviceAccess:
|
||||
global _device_access_instance
|
||||
if _device_access_instance is None:
|
||||
_device_access_instance = DeviceAccess()
|
||||
return _device_access_instance
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user