SBM AppScript Reference → Programming SBM AppScript → Extension Functions → Ext.ReleaseLock()
Every call to Ext.AcquireLock() must eventually be followed by a call to Ext.ReleaseLock(). Statements between these two calls are executed by at most one concurrent script at a time. If a script terminates without releasing an acquired lock, the SBM AppScript system automatically releases it so concurrent scripts do not halt indefinitely. For details on acquiring locks, refer to Ext.AcquireLock( [msTimeout] ). For details on determining if a concurrent script is available to be acquired, refer to Ext.LockIsAvailable( ).
Returns true if the lock was released successfully. Returns false if the lock was not released.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.