mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build memory snaphost if a leak found
This commit is contained in:
@@ -74,6 +74,10 @@ public class _LastInSuiteTest extends TestCase {
|
||||
LeakHunter.checkProjectLeak();
|
||||
Disposer.assertIsEmpty(true);
|
||||
}
|
||||
catch (AssertionError e) {
|
||||
captureMemorySnapshot();
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e) {
|
||||
captureMemorySnapshot();
|
||||
throw e;
|
||||
|
||||
Reference in New Issue
Block a user