commit | aebd872c93b4ae215bfa47526aa0857d8a5a8e60 | [log] [tgz] |
---|---|---|
author | Nicolas Lacasse <nlacasse@google.com> | Tue Apr 21 18:36:47 2015 -0700 |
committer | Nicolas Lacasse <nlacasse@google.com> | Tue Apr 21 18:36:55 2015 -0700 |
tree | 1cf6db6557456424981aea408519c07c60d16437 | |
parent | 5a96d9a0b4fe484228d898e6be5c8609fc46e4f4 [diff] |
services/wspr: Intentionally panic from within a goroutine. This is used in the js test-nacl-plugin-crash test. For some reason directly calling "panic" sometimes blocks and never causes the "crash" event to be emitted. Calling "panic" from within a goroutine causes a "full" panic, making the js test much more reliable. MultiPart: 2/2 Change-Id: I27b69af44049657e8f23a086d20ea1f6c0b776c3