mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 05:05:34 +00:00
Merge pull request #25 from cra0zy/fixnull
Fix a null reference exception
This commit is contained in:
commit
5cf280340b
|
@ -45,6 +45,9 @@ namespace GLib {
|
||||||
public bool Handler ()
|
public bool Handler ()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
if (real_handler == null)
|
||||||
|
return false;
|
||||||
|
|
||||||
TimeoutHandler timeout_handler = (TimeoutHandler) real_handler;
|
TimeoutHandler timeout_handler = (TimeoutHandler) real_handler;
|
||||||
|
|
||||||
bool cont = timeout_handler ();
|
bool cont = timeout_handler ();
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
// VARS
|
// VARS
|
||||||
|
|
||||||
Settings.Cake = Context;
|
Settings.Cake = Context;
|
||||||
Settings.Version = "3.22.24.30";
|
Settings.Version = "0.0.0.7";
|
||||||
Settings.BuildTarget = Argument("BuildTarget", "Default");
|
Settings.BuildTarget = Argument("BuildTarget", "Default");
|
||||||
Settings.Assembly = Argument("Assembly", "");
|
Settings.Assembly = Argument("Assembly", "");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue