avoid possible Class Not Found: junit/framework/TestCase
This commit is contained in:
parent
ac0c681fb7
commit
e3510e0805
@ -193,7 +193,10 @@ public class Shell extends ShellBase {
|
|||||||
|
|
||||||
public void shutdown() {
|
public void shutdown() {
|
||||||
this.sigar.close();
|
this.sigar.close();
|
||||||
SigarTestCase.closeSigar(); //shutup dmalloc
|
//avoid possible Class Not Found: junit/framework/TestCase
|
||||||
|
if (System.getProperty("jni.dmalloc") != null) {
|
||||||
|
SigarTestCase.closeSigar(); //shutup dmalloc
|
||||||
|
}
|
||||||
super.shutdown();
|
super.shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user