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
I tried to use Destructor in a simple class and I found It's not calling class Destructor when object goes outside the scope but I tried the same approach with IDisposable and it worked fine if you need the code example let me know but it was kinda weird
Activity
azizbek-abdurahmonov commentedon Nov 21, 2023
Assalomu Alaykum! Can you send me your code?
WeihanLi commentedon Jan 2, 2024
The deconstructor may not be called immediately, it may relate to GC processing