After the update to version 1.5.2 my WPF 4.0 application is no longer closed.
See the simple example in the attachment. Example works fine with CaliburnMicro 1.4 and has infinite wait with 1.5.2
Comments: I'm not sure that this behaviour is correct. We know that task is canceled but anyway execute wait for it and receive "A task was canceled." exception. As for me, it should be something like this : Task task = OnUIThreadAsync(action); if (!task.IsCanceled) { task.Wait(); }
See the simple example in the attachment. Example works fine with CaliburnMicro 1.4 and has infinite wait with 1.5.2
Comments: I'm not sure that this behaviour is correct. We know that task is canceled but anyway execute wait for it and receive "A task was canceled." exception. As for me, it should be something like this : Task task = OnUIThreadAsync(action); if (!task.IsCanceled) { task.Wait(); }