N
Noel Weichbrodt
This bug has me backed into a dark alley.
My add-in, C# for Outlook, functions perfectly. But my testers report that
when it is loaded, Outlook will not close properly. When they exit Outlook,
the program hangs around for a while longer than normal (one user reported
ten minutes) before closing. During this time the taskbar icon is visible,
and they cannot launch another instance of Outlook (getting a "This operation
failed" error popup if they try). Upon opening outlook after exiting, they
get a progress bar that states something like "Outlook was closed improperly.
Rebuilding mailbox..." After a couple of minutes, Outlook is available and
working fine, until the next exit. This problem is reproducible.
I've reviewed my code several times in search of the cause. All my fields
are getting disposed of properly ondisconnection. No exceptions are occuring
anywhere during exit. I have no methods that are waiting for something. I can
find no explanation for this behavior besides an emergent demon coming from
my managed code.
Does anyone have an idea of what could be causing the improper closing? I'm
ready for a nExorcism.
I can post the ~750 loc source if requested.
TIA.
Noel
My add-in, C# for Outlook, functions perfectly. But my testers report that
when it is loaded, Outlook will not close properly. When they exit Outlook,
the program hangs around for a while longer than normal (one user reported
ten minutes) before closing. During this time the taskbar icon is visible,
and they cannot launch another instance of Outlook (getting a "This operation
failed" error popup if they try). Upon opening outlook after exiting, they
get a progress bar that states something like "Outlook was closed improperly.
Rebuilding mailbox..." After a couple of minutes, Outlook is available and
working fine, until the next exit. This problem is reproducible.
I've reviewed my code several times in search of the cause. All my fields
are getting disposed of properly ondisconnection. No exceptions are occuring
anywhere during exit. I have no methods that are waiting for something. I can
find no explanation for this behavior besides an emergent demon coming from
my managed code.
Does anyone have an idea of what could be causing the improper closing? I'm
ready for a nExorcism.
I can post the ~750 loc source if requested.
TIA.
Noel