-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
issueApplication has unwanted/unexpected behaviourApplication has unwanted/unexpected behaviour
Description
RegisterAction("Test", () =>
{
InvokeAction(...);
});When "Test" is scheduled the calling thread is blocked until it is finished but it will never finish because "InvokeAction" will schedule an action that will wait for the previous one ("Test") to finish, blocking the thread forever. This can be fixed by invoking directly.
It might be possible to detect that an action is being scheduled from within some other action and just invoke directly in that case.
Remove scheduling and always invoke directly?
Metadata
Metadata
Assignees
Labels
issueApplication has unwanted/unexpected behaviourApplication has unwanted/unexpected behaviour