From 25de180d6e28ea7ac87a747c9956879a454a2d54 Mon Sep 17 00:00:00 2001 From: loki Date: Wed, 18 Mar 2020 21:20:10 +0100 Subject: [PATCH] Fix exception when calling inerrupt handler while a session is running --- sunshine/rtsp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sunshine/rtsp.cpp b/sunshine/rtsp.cpp index d0a1d1a7..565b3cde 100644 --- a/sunshine/rtsp.cpp +++ b/sunshine/rtsp.cpp @@ -456,6 +456,8 @@ void rtpThread(std::shared_ptr shutdown_event) { server.clear(false); } } + + server.clear(); } void print_msg(PRTSP_MESSAGE msg) {