studio icon indicating copy to clipboard operation
studio copied to clipboard

Connection not released after script error

Open yngndrw opened this issue 3 years ago • 0 comments

If a JavaScript script acquires a connection and does not release it for any reason, (For example a script error) EEZ Studio does not automatically release the connection. This prevents the script from being run until EEZ Studio is fully restarted. (Even disconnecting from the instrument does not release the connection)

EEZ Studio should automatically release a connection if the script has not explicitly released it. Additionally, a warning should probably be raised if the script has completed successfully but has not explicitly released a connection which it has acquired.

yngndrw avatar Mar 17 '21 17:03 yngndrw