1
0
mirror of https://github.com/Kopano-dev/kopano-ol-extension.git synced 2023-10-10 13:37:40 +02:00

[KOE-39] More aggressive release of COM objects.

This commit is contained in:
Patrick Simpson 2017-02-07 10:02:40 +01:00
parent 87f3534a89
commit 7ccedbe9e6

View File

@ -67,7 +67,7 @@ namespace Acacia.Utils
Logger.Instance.TraceExtra(typeof(ComRelease), "Releasing object: {0:X} @ {1}", GetObjAddress(o),
new System.Diagnostics.StackTrace());
}
Marshal.ReleaseComObject(o);
Marshal.FinalReleaseComObject(o);
}
private static long GetObjAddress(object o)