Skip to content

Commit 02ce052

Browse files
committed
Proxyless Gateway: added %Destroy method (deletes Python object)
1 parent 7073662 commit 02ce052

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

isc/py/gw/DynamicObject.cls

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,10 @@ Method %ToStream(serialization As %Integer = {..%Serialization}, ByRef stream As
109109
##class(isc.py.Main).GetVariable(..%Variable, serialization, .stream, useString)
110110
}
111111

112+
Method %Destroy() [ CodeMode = expression ]
113+
{
114+
##class(isc.py.Main).SimpleString("del " _ ..%Variable)
115+
}
116+
112117
}
113118

0 commit comments

Comments
 (0)