public static void forceUnload ( ) { if ( factoryInstance != null ) { factoryInstance . unload ( ) ; } STACK . get ( ) . clear ( ) ; factoryInstance = null ; }
Use this to force unload Torch . Probably used in tests only .