Added comments

This commit is contained in:
Robinson 2023-09-25 13:54:11 +02:00
parent be78d498dc
commit 2ab8d7b3bd
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ internal class ServerHandshake<CONNECTION : Connection>(
// in the specific case of using sessions, we don't want to call 'init' or `connect` for a connection that is resuming a session
var newSession = true
if (server.sessionManager.enabled()) {
// we want to restore RMI objects BEFORE the connection is fully setup!
newSession = server.sessionManager.onInit(newConnection as SessionConnection)
}