studio
studio copied to clipboard
Connection not released after script error
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.