Skip to content

Commit

Permalink
emit closed
Browse files Browse the repository at this point in the history
  • Loading branch information
sima committed Dec 11, 2023
1 parent 45f9fe6 commit 0c77eed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cpp/proxy/sockjssession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ class SockJsSession::Private : public QObject
state = Idle;
applyLinger();
cleanup();
q->closed();
QMetaObject::invokeMethod(q, "emit_closed", Qt::QueuedConnection);
}
else
tryWrite();
Expand Down Expand Up @@ -1026,6 +1026,10 @@ class SockJsSession::Private : public QObject
q->error();
}

void emit_closed(){
q->closed();
}

private slots:
void doUpdate()
{
Expand Down

0 comments on commit 0c77eed

Please sign in to comment.