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
Thanks for the tutorials! They've been super helpful for me trying to learn how to create a plugin. I've noticed some code in the panel tutorial which I believe may be causing a memory leak e.g. here. The class has no destructor, so it seems like we're dynamically allocating memory and never freeing it.
It's been a while since I've used Qt, so unsure if it would be handling the memory management under the hood? Figured it'd be a good opportunity to learn either way 😄
The text was updated successfully, but these errors were encountered:
According to Panel Plugin Tututorial
and my understanding, 'this' that passed as an argument will cause the QTimer to be deleted automatically after the QObject destructor is called.
Hello,
Thanks for the tutorials! They've been super helpful for me trying to learn how to create a plugin. I've noticed some code in the panel tutorial which I believe may be causing a memory leak e.g. here. The class has no destructor, so it seems like we're dynamically allocating memory and never freeing it.
It's been a while since I've used Qt, so unsure if it would be handling the memory management under the hood? Figured it'd be a good opportunity to learn either way 😄
The text was updated successfully, but these errors were encountered: