[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Technical background information on .NET bridge

  • Thread starter Thread starter Laura Stern
  • Start date Start date
Status
Not open for further replies.
L

Laura Stern

Guest
The Dispose pattern causes GC.SuppressFinalize to be called. Therefore for any object implementing IDisposable (not just forms), the finalizer will never run. See this article: stackoverflow.com/.../why-does-the-traditional-dispose-pattern-suppress-finalize Therefore we needed a different way. That way is that once Dispose is called, if the ABL no longer has a reference to the object, we will delete it. We've fixed a couple of bugs recently with the order in which things happen on Dispose. There were cases where we deleted the object prematurely - before Dispose was called on all sub-components, for example. But hopefully, that should all be good now (as of 11.7.3.x, 11.7.4)

Continue reading...
 
Status
Not open for further replies.
Back
Top