Skip to content

Commit

Permalink
- adapt linkDelayServer to lasted code
Browse files Browse the repository at this point in the history
- session.close need to wrap into try{} catch{} so state chage need to
  put into finally
  • Loading branch information
nhanth87 committed Nov 7, 2017
1 parent 96f2574 commit cabf21b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ public void sessionDestroyed(SmppSession session) {
// make sure it's really shutdown
session.destroy();

} finally {
//bringing back to close
esmeServer.setLocalStateName((com.cloudhopper.smpp.SmppSession.STATES[SmppSession.STATE_CLOSED]));
} finally {
accessSemaphore.release();
}
}
Expand Down

0 comments on commit cabf21b

Please sign in to comment.