Closed awakecoding closed 1 year ago
Actually fix https://github.com/Devolutions/MsRdpEx/pull/65 properly
The issue was caused by missing AddRef when returning IUnknown objects to C# - when .NET disposed the COM object, it called Release(), which would cause the RefCount to go down to zero, and eventually freed the object.
Actually fix https://github.com/Devolutions/MsRdpEx/pull/65 properly
The issue was caused by missing AddRef when returning IUnknown objects to C# - when .NET disposed the COM object, it called Release(), which would cause the RefCount to go down to zero, and eventually freed the object.