I am getting a crash while exiting from my application. Pl find the
Stack Trace of the crash:
System.Windows.Forms.Application.ThreadWindows.Thr eadWindows(System.Windows.Forms.Control
parent = <undefined value>, bool onlyWinForms = true) + 0x8c bytes
system.windows.forms.dll!ThreadContext.DisposeThre adWindows() + 0x54
bytes
system.windows.forms.dll!ThreadContext.Dispose() + 0xa1 bytes
system.windows.forms.dll!ThreadContext.RunMessageL oopInner(int reason =
0xffffffff, System.Windows.Forms.ApplicationContext context =
{System.Windows.Forms.ApplicationContext}) + 0x280 bytes
system.windows.forms.dll!ThreadContext.RunMessageL oop(int reason =
0xffffffff, System.Windows.Forms.ApplicationContext context =
{System.Windows.Forms.ApplicationContext}) + 0x50 bytes
system.windows.forms.dll!System.Windows.Forms.Appl ication.Run
I am not able to reproduce this crash in Debug mode. But this is only
coming in Release mode.
Could anyone help me to resolve this issue?
Thanks,
GL
NOTE: This application calls functions from our unmanaged dll very
frequently.