Skip to content

Commit

Permalink
Update Broker to use Interop 0.13.3 (#3868)
Browse files Browse the repository at this point in the history
* Update Broker to use Interop 0.13.3

To fix a GC issue : Managed Debugging Assistant 'CallbackOnCollectedDelegate' 
A callback was made on a garbage collected delegate of type 'Microsoft.Identity.Client.NativeInterop!Microsoft.Identity.Client.NativeInterop.API+MSALRUNTIME_LOG_CALLBACK_ROUTINE::Invoke'.
  • Loading branch information
gladjohn authored Dec 15, 2022
1 parent 3528773 commit 08433ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<Reference Include="System.Net.Http" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Identity.Client.NativeInterop" Version="0.13.2" IncludeAssets="all" />
<PackageReference Include="Microsoft.Identity.Client.NativeInterop" Version="0.13.3" IncludeAssets="all" />
<ProjectReference Include="..\Microsoft.Identity.Client\Microsoft.Identity.Client.csproj" />
</ItemGroup>
<ItemGroup Label="Build Tools" Condition="$([MSBuild]::IsOsPlatform('Windows'))">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public async Task WamSilentAuthUserInteractionRequiredAsync()
}
catch (MsalUiRequiredException ex)
{
Assert.IsTrue(ex.Message.Contains("Need user interaction to continue"));
Assert.IsTrue(!string.IsNullOrEmpty(ex.ErrorCode));
}

}
Expand Down

0 comments on commit 08433ed

Please sign in to comment.