RestComm / cloudhopper-smpp

Efficient, scalable, and flexible Java implementation of the Short Messaging Peer to Peer Protocol (SMPP)
Other
14 stars 22 forks source link

Log Issue with SMPP Error Window was garbage collected #9

Open croufay opened 7 years ago

croufay commented 7 years ago

We are getting this in Restcomm regularly

2016-10-04 15:14:46.154 15:14:46,043 ERROR [com.cloudhopper.commons.util.windowing.Window] (bfbed70a.Monitor) The parent Window was garbage collected in this WindowMonitor(): missing call to Window.reset() to stop this monitoring thread (will throw exception to cancel this recurring execution!)

sergey_vetyutnev [5:23 PM] @jean.deruelle @charles Theoretically this error is not critical. But we need to think why we have it We must always invoke "Window.destroy()" aftre the window is not more used and if we invoke it then "The parent Window was garbage collected" is not usually possible

original issue here:

https://github.com/RestComm/Restcomm-Connect/issues/1446

koeff commented 6 years ago

Added https://github.com/RestComm/cloudhopper-smpp/pull/24, backported from netty4 branch.