simulate release of keyboard/gamepad/mouse buttons when stopping session

This commit is contained in:
loki
2019-12-31 12:22:47 +01:00
parent daaec4ba46
commit b5fe713848
3 changed files with 50 additions and 6 deletions

View File

@@ -161,6 +161,7 @@ void stop(session_t &session) {
session.video_packets->stop();
session.audio_packets->stop();
input::reset(input);
has_session.store(false);
}