-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to delete an AsyncWorker pointer? #430
Comments
I was just playing with this exact thing last night. If you add the destructor method override in your asyncworker subclass and have it do something like |
wow, thanks, i would have not thought it would be automatic for a pointer. so weird! that's all about my C++ .... 👍 |
i will wait for a little time if someone can explain what is happening... :) |
The object instance does indeed self-destruct. We're adding a |
i was working for this kind of response. thank you very much! |
Hello!
How are you? I have a weird problem:
It looks like the
testWorker
is apointer
, but when is it going to be freed up/deleted? The example was no info how to delete thispointer
... Is this valid code?The text was updated successfully, but these errors were encountered: