mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01: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