mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Fixed "Cannot read properties of null (reading 'off')" noise in tests (#18610)
no issue - the lexical multiplayer experiment was causing noise in e2e tests because it tried to use `ghostServer.httpServer` which doesn't exist
This commit is contained in:
parent
4815aa6e7f
commit
b6216586c4
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ module.exports = {
|
|||
|
||||
_disable = async () => {
|
||||
logging.info('Stopping lexical multiplayer websockets service');
|
||||
ghostServer.httpServer.off('upgrade', handleUpgrade);
|
||||
ghostServer.httpServer?.off('upgrade', handleUpgrade);
|
||||
|
||||
if (wss) {
|
||||
_isClosing = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue