mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-06-05 10:41:52 +00:00
Util: Catch OOM in timer
This commit is contained in:
@@ -432,6 +432,9 @@ public class SimpleTimer2 {
|
||||
} catch (RuntimeException re) {
|
||||
_log.error("timer error", re);
|
||||
throw re;
|
||||
} catch (OutOfMemoryError oome) {
|
||||
_log.error("timer error", oome);
|
||||
throw new RuntimeException("timer error", oome);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user