generate snaphot only if internal

This commit is contained in:
Alexey Kudravtsev
2009-09-10 17:48:21 +04:00
parent 9563b0d518
commit 9b7434e19f
@@ -230,7 +230,7 @@ public class ApplicationImpl extends ComponentManagerImpl implements Application
myDisposeInProgress = true;
Disposer.dispose(this);
if (!Disposer.isEmpty()) {
if (isInternal() && !Disposer.isEmpty()) {
try {
Class.forName("com.intellij.util.ProfilingUtil").getDeclaredMethod("forceCaptureMemorySnapshot").invoke(null);
}