Hitting a breakpoint in a async task causes my AssemblyLoadContexts to not unload
Hi, I have this method:
Whenever I I place a breakpoint after the await, it fails to unload the AssemblyLoadContext on next hot reload that this method is in. It's like the debugger keeps a hard reference around. Any tips on how to debug this?
Everything I allocate in the async is confirmed to be disposed. I just allocate a weak reference to a delegate for a callback
Whenever I I place a breakpoint after the await, it fails to unload the AssemblyLoadContext on next hot reload that this method is in. It's like the debugger keeps a hard reference around. Any tips on how to debug this?
Everything I allocate in the async is confirmed to be disposed. I just allocate a weak reference to a delegate for a callback