mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Remove crash handler when handling first crash. Fixes bug #76.
This commit is contained in:
@@ -26,6 +26,8 @@ class CrashHandler implements UncaughtExceptionHandler {
|
||||
|
||||
public void uncaughtException(Thread thread, Throwable throwable) {
|
||||
LOG.log(WARNING, "Uncaught exception", throwable);
|
||||
// Don't handle more than one exception
|
||||
Thread.setDefaultUncaughtExceptionHandler(delegate);
|
||||
// Get the stack trace
|
||||
StringWriter sw = new StringWriter();
|
||||
PrintWriter pw = new PrintWriter(sw);
|
||||
|
||||
Reference in New Issue
Block a user