Outlook takes long time to shutdown!!!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
When I close Outlook with my add-in, it takes a long time until the Outlook
process ended.
I handled the OnCloseExplorer(), and I freed my explorer pointer. But I
noticed that it takes about 5-6 seconds between leaving the OnCloseExplorer()
and entering the ::OnDisconnection() callback.
How can I fix this?
 
If this is managed code that can be a function of the garbage collector and
the general slowness of managed code. If it's not managed code then possibly
some other addin is taking time or your release code is taking too much
time. Hard to say with the information you've provided.
 
No. Not managed code.
I'm using C++ !!!

Ken Slovak - said:
If this is managed code that can be a function of the garbage collector and
the general slowness of managed code. If it's not managed code then possibly
some other addin is taking time or your release code is taking too much
time. Hard to say with the information you've provided.
 
Then start checking to see what's taking all that time in your code, a set
of profiler runs maybe. There's no way to tell what's going on from the
information you've provided.
 
Do you have large PSTs or OSTs? If yes, this could have something to do
with the White Space Cleaning Task of Outlook on closing time.... What
if you try it with a fresh file of 300k? Does Outlook close quicker?
-Michael
 
Back
Top