[BUG] UWP Bitmap create threading exception
dpvreony opened this issue · 1 comments
Describe the bug
In the new UWP test runner the BitmapLoader Create test currently fails
System.Exception
HResult=0x8001010E
Message=The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD))
Source=Windows
StackTrace:
at Windows.UI.Xaml.Media.Imaging.WriteableBitmap..ctor(Int32 pixelWidth, Int32 pixelHeight)
at Splat.PlatformBitmapLoader.Create(Single width, Single height) in D:\github\reactiveui\splat\src\Splat.Drawing\Platforms\WinRT\Bitmaps\PlatformBitmapLoader.cs:line 80
at Splat.Tests.BitmapLoaderTests.Create_Succeeds() in D:\github\reactiveui\splat\src\Splat.Tests\BitmapLoaderTests.cs:line 45
A clear and concise description of what the bug is.
Steps To Reproduce
Run the Splat.TestRunner.Uwp project
Expected behavior
Should create a bitmap
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.