Interop or invoke or win32 api, is usually running c or c++ so the leak is in handling c code. The coworker made c# leaks which are embarrassing, like having an infinite loop and allocating data in the loop without an await. Or allocating new memory over reusing an object until windows crashes or not using using.
View all comments
Show parent comment
1
u/Amr_Rahmy Feb 13 '26
Cancellation token would be on you.
Interop or invoke or win32 api, is usually running c or c++ so the leak is in handling c code. The coworker made c# leaks which are embarrassing, like having an infinite loop and allocating data in the loop without an await. Or allocating new memory over reusing an object until windows crashes or not using using.