Fix use-after-free when exiting w/ a pairing session

This commit is contained in:
Reimu NotMoe
2024-09-19 06:18:50 +08:00
committed by Yukino Song
parent ba22fa9a3e
commit f8c57be702

View File

@@ -1385,6 +1385,8 @@ namespace nvhttp {
// Wait for any event
shutdown_event->view();
map_id_sess.clear();
https_server.stop();
http_server.stop();