diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-08-27 06:51:36 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-08-27 06:51:36 +0200 |
| commit | 6cbe9f9d2a604cdbb74f46f3710ea3dc60a87e55 (patch) | |
| tree | 7e3e675b2f6b14d320b124389b25fde003b63ea6 /src/CompilerServices/CompilerServices.cs | |
| parent | 3025ab70f5fc51819f5980908a8a98d5d6426b7e (diff) | |
first step in implementing a dispose mechanism for graphic objects
Diffstat (limited to 'src/CompilerServices/CompilerServices.cs')
| -rw-r--r-- | src/CompilerServices/CompilerServices.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CompilerServices/CompilerServices.cs b/src/CompilerServices/CompilerServices.cs index 5884ee66..5409aa5e 100644 --- a/src/CompilerServices/CompilerServices.cs +++ b/src/CompilerServices/CompilerServices.cs @@ -632,7 +632,9 @@ namespace Crow Type t = instance.GetType (); FieldInfo fiEvt = getEventHandlerField (t, eventName); if (fiEvt == null) { + #if DEBUG_BINDING Debug.WriteLine ("RemoveHandlerByName: Event '" + eventName + "' not found in " + instance); + #endif return; } EventInfo eiEvt = t.GetEvent (eventName); |