commit | 1ec9e9f8289c5329913f814643354427597075c0 | [log] [tgz] |
---|---|---|
author | Ian McKellar <ianloic@google.com> | Wed Oct 04 14:22:40 2017 -0700 |
committer | Ian McKellar <ianloic@google.com> | Wed Oct 04 16:27:00 2017 -0700 |
tree | bc2846370eaf6a2578407811ac0655f3e6d58724 | |
parent | d1a0e4d428dc5f7eefa3ca92324d3fa0a8918548 [diff] |
Don't print a spurious error message when exiting The dart:fuchsia.exit() call uses Isolate.current.kill() to exit. This generates a spurious error in the log. This change suppresses that error by checking if an exit code has been set. The exit code will only be set right before Isolate.current.kill() is called. US-362 #done Change-Id: I291e9669ac9612b85ecb42731dd3d6af87629137