fix bug of DispEngine blocked on dispose.
This commit is contained in:
parent
b68c5618ae
commit
57a3750042
@ -236,7 +236,7 @@ namespace Hi.Wpf.Disp
|
||||
byte[] arr = new byte[n];
|
||||
for (int i = 0; i < n; i++)
|
||||
arr[i] = data[i];
|
||||
|
||||
|
||||
// Update UI on the UI thread
|
||||
DisplayerPane.Dispatcher.InvokeAsync(() =>
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user