Shutdown jsExecutor after Nashorn destroy

This commit is contained in:
Sergey Matvienko 2023-02-20 17:38:02 +01:00
parent c38dd12703
commit af62bc1d98

View File

@ -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