Shutdown jsExecutor after Nashorn destroy
This commit is contained in:
parent
c38dd12703
commit
af62bc1d98
@ -127,6 +127,9 @@ public class NashornJsInvokeService extends AbstractJsInvokeService {
|
|||||||
if (monitorExecutorService != null) {
|
if (monitorExecutorService != null) {
|
||||||
monitorExecutorService.shutdownNow();
|
monitorExecutorService.shutdownNow();
|
||||||
}
|
}
|
||||||
|
if (jsExecutor != null) {
|
||||||
|
jsExecutor.shutdownNow();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user