Skip to content

Commit dea4e49

Browse files
committed
Fix WSS ping/pong
Signed-off-by: Layne Bernardo <[email protected]>
1 parent 72fac8a commit dea4e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveQuery/ParseWebSocketServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class ParseWebSocketServer {
1616
wss.onConnection = ws => {
1717
ws.waitingForPong = false;
1818
ws.on('pong', () => {
19-
this.waitingForPong = false;
19+
ws.waitingForPong = false;
2020
});
2121
ws.on('error', error => {
2222
logger.error(error.message);

0 commit comments

Comments
 (0)