File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/smpp-extensions/src/main/java/org/restcomm/smpp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,8 @@ public void sessionDestroyed(SmppSession session) {
246246 esmeServer .resetEnquireLinkFail ();
247247 this .smppServerOpsThread .removeEnquireList (esmeName );
248248 this .smppSessionHandlerInterface .destroySmppSessionHandler (esmeServer );
249+ //bringing back to close
250+ esmeServer .setLocalStateName ((com .cloudhopper .smpp .SmppSession .STATES [SmppSession .STATE_CLOSED ]));
249251
250252 DefaultSmppSession defaultSession = (DefaultSmppSession ) session ;
251253
@@ -261,8 +263,6 @@ public void sessionDestroyed(SmppSession session) {
261263 // make sure it's really shutdown
262264 session .destroy ();
263265
264- //bringing back to close
265- esmeServer .setLocalStateName ((com .cloudhopper .smpp .SmppSession .STATES [SmppSession .STATE_CLOSED ]));
266266 } finally {
267267 accessSemaphore .release ();
268268 }
You can’t perform that action at this time.
0 commit comments