Fix bug on graphic tests: to easily reproduce, plot2d();figure();plot2d();exit(0) 01/10501/1
Calixte DENIZET [Fri, 15 Feb 2013 17:15:25 +0000 (18:15 +0100)]
Change-Id: I48e640e9a35844b467cb2c85b9d1d99ebe3eb5d5

scilab/modules/jvm/src/c/createMainScilabObject.c

index ca0541c..ef0789e 100644 (file)
@@ -160,8 +160,6 @@ void forceCloseMainScilabObject(void)
             }
             catchIfJavaException(_("Error with Scilab.forceClose():\n"));
         }
-
-        (*currentJVM)->DetachCurrentThread(currentJVM);
     }
 }
 /*--------------------------------------------------------------------------*/