File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
io/src/main/java/org/red5/codec
server/src/main/java/org/red5/server/tomcat Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 1010import java .util .concurrent .CopyOnWriteArrayList ;
1111
1212import org .apache .mina .core .buffer .IoBuffer ;
13- import org .red5 .io .IoConstants ;
14- import org .red5 .util .ByteNibbler ;
1513
1614/**
1715 * Red5 video codec for the HEVC (h265) video format. Stores DecoderConfigurationRecord and last keyframe.
Original file line number Diff line number Diff line change @@ -205,8 +205,7 @@ public void afterPropertiesSet() throws Exception {
205205 // if we are not awaiting plugins, start immediately
206206 if (awaitPlugins ) {
207207 log .info ("Awaiting plugin loading" );
208- executor = Executors .newVirtualThreadPerTaskExecutor ();
209- executor .submit (() -> {
208+ Executors .newVirtualThreadPerTaskExecutor ().submit (() -> {
210209 Thread .currentThread ().setName ("TomcatLoader-delayed-start" );
211210 try {
212211 // wait for plugins to load but only up to 60 seconds
@@ -955,9 +954,6 @@ public void destroy() throws Exception {
955954 deployer .stop ();
956955 deployer = null ;
957956 }
958- if (executor != null ) {
959- executor .shutdown ();
960- }
961957 // run through the applications and ensure that spring is told to commence shutdown / disposal
962958 AbstractApplicationContext absCtx = (AbstractApplicationContext ) LoaderBase .getApplicationContext ();
963959 if (absCtx != null ) {
You can’t perform that action at this time.
0 commit comments