forked from I2P_Developers/i2p.i2p
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