Try OpenEdge Now
skip to main content
BPM Events User's Guide
Persistent structures : Persistent maps : Discarding persistent maps and map instances from memory
 

Discarding persistent maps and map instances from memory

Discard a persistent map from memory using the discard() function. The following statement in a finalize section of data module deletes the persistent map / persistent map instance UserCls (along with its database image) when the application is uninstalled.
finalize {
discard(ucls0);
discard(UserCls);
}