diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Canvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp index 9bba605..db02ffe 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -1196,7 +1196,7 @@ switch (event->type) { void GanvCanvasImpl::ports_joined(GanvPort* port1, GanvPort* port2) { - if (port1 == port2 || !port1 || !port2) { + if (port1 == port2 || !port1 || !port2 || !port1->impl || !port2->impl) { return; } |