Thank you Markus.

As I said initially, I'm fine keeping IDisposable (perhaps not explicitly) but we need to make sure that the Evaluator does not trigger a call to it until all handlers have been executed. As a general C# question, does the compile automatically call Dispose on an object that it garbage collects? If so, then how about getting rid of the explicit inheritance (to avoid confusion with what goes in the CloseEvent handler vs. Dispose; and to synchronize Java and C# APIs) and let the application programmer decide to explicitly add it (for whatever reason e.g., free low-level (unsafe) memory), then allow the compiler to call it at garbage collection time.

-Tyson

-----Original Message-----
From: Markus Weimer <[EMAIL PROTECTED]>
Sent: Monday, July 9, 2018 4:45 PM
To: REEF Developers Mailinglist <[EMAIL PROTECTED]>
Subject: Re: ITask and IDisposable

Replying, as Tyson had some issues with receiving the list today. -- Markus

On Mon, Jul 9, 2018 at 11:51 AM, Julia Wang (QIUHE) < [EMAIL PROTECTED]lid> wrote: