ExecutorService.close method supported in Java 19 and later
This commit is contained in:
parent
e51ac0d819
commit
32a6672bc0
1 changed files with 1 additions and 1 deletions
|
|
@ -138,6 +138,6 @@ public class TasksDelayedBySessionServiceV2 implements ImdgEntryListener<Session
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void destroy() {
|
public void destroy() {
|
||||||
this.singleThreadExecutor.close();
|
this.singleThreadExecutor.shutdown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue