Fix a null reference exception

This commit is contained in:
cra0zy 2018-03-01 15:04:08 +01:00
parent c2e96aa45d
commit 186b1ce72b
2 changed files with 4 additions and 1 deletions

View File

@ -45,6 +45,9 @@ namespace GLib {
public bool Handler ()
{
try {
if (real_handler == null)
return false;
TimeoutHandler timeout_handler = (TimeoutHandler) real_handler;
bool cont = timeout_handler ();

View File

@ -6,7 +6,7 @@
// VARS
Settings.Cake = Context;
Settings.Version = "3.22.24.30";
Settings.Version = "0.0.0.7";
Settings.BuildTarget = Argument("BuildTarget", "Default");
Settings.Assembly = Argument("Assembly", "");