-
Notifications
You must be signed in to change notification settings - Fork 4
Dispatchers
Jean-François Pustay edited this page Feb 9, 2021
·
1 revision
By default Stridelonia host Avalonia in a different thread. So when you call Avalonia code from Stride, you may have this error "Call from invalid thread".
In order, to correct this you can use the dispatcher class from Avalonia. Stridelonia add also a StrideDispatcher class with the same interfaces of Avalonia dispatcher