android: native: Reset old EmuWindow before constructing a new one.

- Enforces that touch is unregistered at the right time, ensuring it works for subsequent runs.
This commit is contained in:
bunnei 2019-08-23 13:29:12 -04:00
parent 77cd5ea046
commit 281ec2da7b

View File

@ -97,6 +97,7 @@ static int RunCitra(const std::string& filepath) {
if (window) { if (window) {
system.Shutdown(); system.Shutdown();
InputManager::Shutdown(); InputManager::Shutdown();
window.reset();
} }
{ {