How to use using syntax in Island


(takepoi) #1


Do I have to call Finalize of a class instance?

Also, the IDisposable interface is defined in Monitor.pas, but can not use using syntax?

(Carlo Kok) #2

No. You shouldn’t. The GC will call that for you.

What do you mean? You should be able to use using on monitor.

(takepoi) #3

I wrote the following code.

However, I got a build error.

(RemObjects) #4

Thanks, logged as bugs://76914

(Carlo Kok) #5

Thanks; I’ll take a look.

(RemObjects) #6

bugs://76914 got closed with status fixed.