Fix a null reference exception
This commit is contained in:
parent
c2e96aa45d
commit
186b1ce72b
2 changed files with 4 additions and 1 deletions
|
@ -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