mirror of
				https://github.com/Kopano-dev/kopano-ol-extension.git
				synced 2023-10-10 11:37:40 +00:00 
			
		
		
		
	Switched to ReleaseComObject instead of FinalReleaseComObject, as that releases objects that may actually be shared (e.g. app.ActiveExplorer).
This commit is contained in:
		@@ -79,7 +79,7 @@ namespace Acacia.Utils
 | 
			
		||||
                Logger.Instance.TraceExtra(typeof(ComRelease), "Releasing object: {0:X} @ {1}", GetObjAddress(o),
 | 
			
		||||
                                new System.Diagnostics.StackTrace());
 | 
			
		||||
            }
 | 
			
		||||
            Marshal.FinalReleaseComObject(o);
 | 
			
		||||
            Marshal.ReleaseComObject(o);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private static long GetObjAddress(object o)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user