Introduction and Motivation
A unit of ObjectScript code (a ClassMethod, say) may produce a variety of unexpected side effects by interacting with parts of the system outside of its own scope and not properly cleaning up. As a non-exhaustive list, these include:
- Transactions
- Locks
- I/O devices
- SQL cursors
- System flags and settings
- $Namespace
- Temporary files
Use of these important language features without proper cleanup and defensive coding can lead to an application that normally works correctly, but that may fail in unexpected and difficult-to-debug ways. It is critical for cleanu

%20(2).jpg)



.png)
.png)
.png)
.png)


