[Gambas-user] How to free an object with an active ServerSocket?

T Lee Davidson t.lee.davidson at gmail.com
Wed Dec 9 17:15:36 CET 2020

On 12/8/20 2:02 PM, Gianluigi wrote:
> However you, from FMain, always have to tell the class to destroy itself (MyTester = Null), why not use a your method like 
> Public Sub _destroy()?

Something like that is what I will do, Gianluigi, since my FMain form is going to have to explicitly close the SocketServer 
through a method such as your suggestion, _destroy(). Then, MyTester = Null would not be necessary since the object would get 
destroyed when the application closes.


More information about the User mailing list