Skip to content

Commit

Permalink
Merge branch 'master' into ujjwalchadha/benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwalchadha committed Jul 21, 2020
2 parents 47e7b73 + 6315f97 commit a869203
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion WinRT.Runtime/Marshalers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,10 @@ public static IObjectReference CreateMarshaler(object o, bool unwrapObject = tru
{
return objRef.As<IInspectable.Vftbl>();
}
return ComWrappersSupport.CreateCCWForObject(o);
using (var ccw = ComWrappersSupport.CreateCCWForObject(o))
{
return ccw.As<IInspectable.Vftbl>();
}
}

public static IntPtr GetAbi(IObjectReference objRef) =>
Expand Down
2 changes: 0 additions & 2 deletions cswinrt.sln
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,12 @@ Global
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Debug|x64.ActiveCfg = Debug|x64
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Debug|x64.Build.0 = Debug|x64
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Debug|x86.ActiveCfg = Debug|x86
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Debug|x86.Build.0 = Debug|x86
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Release|Any CPU.ActiveCfg = Release|x86
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Release|ARM.ActiveCfg = Release|x86
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Release|ARM64.ActiveCfg = Release|x86
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Release|x64.ActiveCfg = Release|x64
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Release|x64.Build.0 = Release|x64
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Release|x86.ActiveCfg = Release|x86
{B34C96F4-3660-4B2D-8ABD-A4B428166DC7}.Release|x86.Build.0 = Release|x86
{78D85F23-7CB1-44A1-9238-6DF2C76754E4}.Debug|Any CPU.ActiveCfg = Debug|Win32
{78D85F23-7CB1-44A1-9238-6DF2C76754E4}.Debug|ARM.ActiveCfg = Debug|Win32
{78D85F23-7CB1-44A1-9238-6DF2C76754E4}.Debug|ARM64.ActiveCfg = Debug|Win32
Expand Down

0 comments on commit a869203

Please sign in to comment.