You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RemRelease removes the internal reference caused by creating an integer handle to a type.End RemTypeMyTypeField bigmap[1024*1024]
End Type
GCCollect
Print GCMemAlloced()
Local a:Mytype=NewMyType
GCCollect
Print GCMemAlloced()
Release a
GCCollect
Print GCMemAlloced()
Trying to execute it leads to:
Building untitled1
[ 23%] Processing:untitled1.bmx
Compile Error: Subexpression for release must be an integer variable
[/home/ronny/Arbeit/Tools/BlitzMaxNG/tmp/untitled1.bmx;16;0]
So I guess Release() might not be implemented as expected.
The text was updated successfully, but these errors were encountered:
I took this code from the docs (and made it "strict") :
https://blitzmax.org/docs/en/api/brl/brl.blitz/#release
Trying to execute it leads to:
So I guess
Release()
might not be implemented as expected.The text was updated successfully, but these errors were encountered: