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
With the amazing variety of modules in here (most of which I've admittedly never used), it would be good if we could compile a list of classes that would be suitable to be implementing the upcoming IDisposable. Good candidates might be anything that currently has a Delete/Close/Free/Destroy/Release/... method to release unmanaged resources*, but it's hard for me to find/judge modules that I've never used.
So far I've got:
the streams from all the SStream modules
the various shared memory objects from Interprocess.
TDBConnection from the Database module (what about the other classes in there? I don't know, I've never used this)
subclasses of the of the above in the various db modules that import Database
Any other suggestions?
* In particular, resources that are limited or potentially have an impact on performance or the outside world (such as network connections) are important. A Delete method that just releases a few small wrapped C objects might not be worth bothering.
The text was updated successfully, but these errors were encountered:
Chances are good that sdl.mod has some stuff (outside of bah.mod). Also wx.mod is a candidate having so many stuff in it that the new features might "truncate" stuff needed for the wrapper.
With the amazing variety of modules in here (most of which I've admittedly never used), it would be good if we could compile a list of classes that would be suitable to be implementing the upcoming IDisposable. Good candidates might be anything that currently has a Delete/Close/Free/Destroy/Release/... method to release unmanaged resources*, but it's hard for me to find/judge modules that I've never used.
So far I've got:
Any other suggestions?
* In particular, resources that are limited or potentially have an impact on performance or the outside world (such as network connections) are important. A Delete method that just releases a few small wrapped C objects might not be worth bothering.
The text was updated successfully, but these errors were encountered: