2016-02-04
2016-02-04 13:46:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
b7eba1e8141db519d9039620a0a64dd8ff4d9b75
(6 lines)
(+5/-1)
[
Show
| Annotate
]
Branch: ecd1a4ab759a300607aa45d0d05a5741dc02cf73
Threads: Survive describe_all_threads() throwing errors.
Adds some paranoia to ensure that the disable_threads key
is released even on describe_all_threads() failure.
Fixes [bug 7642 (#7642)] some more.
815: Inside #if undefined(NO_SLOW_REQ_BT)
describe_thread (thread);
} else {
last_dump_hrtime = hrnow;
- describe_all_threads (0, 1);
+ mixed err = catch {
+ describe_all_threads(0, 1);
+ };
+ if (err) master()->handle_error(err);
}
}