In those objects like Agent/TCP, we can implement the "done" function so
that it is called whenever it is stopped. However, if I call "delete
$self" in the done function, it shows some error message such as "pure
virtual method called" or "Wrong number of wnd_init_option_ 1065646817".

So, if I want to remove those unused objects in the script but I have no
idea when will it finish exactly (such as sending some finite size of
data through TCP), what can I do?

Reply via email to