Browse Source
Check for an existing QWebSocketServer before creating a new one. Leave an already-listening server untouched and clean up an existing non-listening server before replacing it. This resolves the cppcheck possible leak warning caused by overwriting m_webSocketServer without deallocating the previous object. Signed-off-by: Robin Getz <rgetz503@gmail.com>chirpmodem-v8.0.0
1 changed files with 11 additions and 0 deletions
Loading…
Reference in new issue