UI - Clear mouse delegate if script is reloaded
Not the perfect solution but hey, it prevents a crash.
This commit is contained in:
parent
956836390a
commit
3e7174d0c2
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ bool T_Demo::render( )
|
||||||
program = std::move( nProgram );
|
program = std::move( nProgram );
|
||||||
rv = true;
|
rv = true;
|
||||||
}
|
}
|
||||||
|
UI::Sync( ).clearMouseDelegate( );
|
||||||
}
|
}
|
||||||
|
|
||||||
UI::Sync( ).updateTime( );
|
UI::Sync( ).updateTime( );
|
||||||
|
|
Loading…
Reference in a new issue