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 committed by xperia64
parent ec0f81d2e9
commit cb810f1a97

View File

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