Mantis - Quercus
Viewing Issue Advanced Details
4375 major always 02-04-11 12:59 02-04-11 12:59
xerafin  
 
normal  
new 4.0.14  
open  
none    
none  
0004375: QuercusScriptEngine leaks QercusContexts
QuercusScriptEngine contains a QuercusContext. This QuercusContext has its start() method invoked which spins up the EnvTimeoutThread. QuercusScriptEngine does not close the QuercusContext, so if a QuercusScriptEngine is garbage collected, the EnvTimeoutThread is left running which keeps the QuercusContext in memory.

QuercusScriptEngine should probably at the very least have a finalize() method that calls QuercusContext.close().

There are no notes attached to this issue.