Possible unsafe behavior
vladkolodka opened this issue · comments
Vladyslav commented
TelegramVkBot/TelegramSender.cs
Line 259 in da356ec
TelegramVkBot/TelegramSender.cs
Line 248 in da356ec
Microsoft says:
DO NOT access any finalizable objects in the finalizer code path, because there is significant risk that they will have already been finalized.
Bool parameter in Dispose(bool)
should be used to prevent Dispose
calls on objects that may be already finalized.
See more info in docs.
Evgen Lesovnikov commented
Fixed disposing
TelegramVkBot/TelegramSender.cs
Lines 332 to 347 in 68af295