aslakhellesoy/webbit — comment on commit fa38c4fb0ac7419978ca87d5eb147ea99498bfa2
File: src/main/java/org/webbitserver/netty/StaleConnectionTrackingHandler.java line 45
By joewalnes:

True. In which case I would put all of the logic in closeStaleConnection() back on the main thread. So the only thing that ever happens on the background thread is it fires a message to the main thread to tell it to wake up and do its stuff.