Cosmetics.
This commit is contained in:
parent
3b8c6dfd4c
commit
ae0a155a39
|
@ -325,12 +325,10 @@ public class StandardSession implements ISession, Parser.Listener, Handler<Stand
|
|||
public void run()
|
||||
{
|
||||
stream.handle(frame, data);
|
||||
if (stream.isClosed())
|
||||
{
|
||||
updateLastStreamId(stream);
|
||||
if (stream.isClosed())
|
||||
removeStream(stream);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -687,7 +685,7 @@ public class StandardSession implements ISession, Parser.Listener, Handler<Stand
|
|||
try
|
||||
{
|
||||
if (stream != null)
|
||||
updateLastStreamId(stream); // TODO: not sure this is right
|
||||
updateLastStreamId(stream);
|
||||
|
||||
// Synchronization is necessary, since we may have concurrent replies
|
||||
// and those needs to be generated and enqueued atomically in order
|
||||
|
|
Loading…
Reference in New Issue