Merged in SP-223-som-synth-crash (pull request #355)

RTM add dispatcher thread name to assert log

Approved-by: Eric Harding <eric.harding@bluetradesys.com>
This commit is contained in:
John Colvin authored and Pedro Pinto committed 2019-10-07 13:11:57 +00:00
commit 91c97d32bb
1 file changed
+2 -2
@@ -42,8 +42,8 @@ namespace mbts.ui.shell
try {
Dispatcher.Run();
}
catch (Exception e) {
Log.assert(false, e.ToString());
catch (Exception ex) {
Log.assert(false, $"Exception on dispatcher thread '{name}': {ex}.");
}
finally {
Log.Ui.info("Disposing slow {0} and cleaning up background thread.".fmt(name));