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:
parent
77cd5ea046
commit
281ec2da7b
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user