Until I can hook up proper error handlers, at least close
the connection so the clients don't hang around in an errored state. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8943 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
dc46e28eb9
commit
010b9e0670
@ -120,6 +120,9 @@ public class KernelAdapter extends Thread
|
|||||||
// Should really be queued up so the outer thread can
|
// Should really be queued up so the outer thread can
|
||||||
// retrieve them. For now we'll just log it. FIXME
|
// retrieve them. For now we'll just log it. FIXME
|
||||||
log.log( Level.SEVERE, "Unhandled error, endpoint:" + p + ", context:" + context, e );
|
log.log( Level.SEVERE, "Unhandled error, endpoint:" + p + ", context:" + context, e );
|
||||||
|
|
||||||
|
// In lieu of other options, at least close the endpoint
|
||||||
|
p.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected HostedConnection getConnection( Endpoint p )
|
protected HostedConnection getConnection( Endpoint p )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user