Commit ba9ca089 authored by Guus der Kinderen's avatar Guus der Kinderen

OF-1481: Don't attempt to send over a non-existing connection.

parent 795ee763
...@@ -410,6 +410,11 @@ public abstract class LocalSession implements Session { ...@@ -410,6 +410,11 @@ public abstract class LocalSession implements Session {
@Override @Override
public void deliverRawText(String text) { public void deliverRawText(String text) {
if ( conn == null )
{
Log.debug( "Unable to deliver raw text in session, as its connection is null. Dropping: " + text );
return;
}
conn.deliverRawText(text); conn.deliverRawText(text);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment