Explorar o código

Merge pull request #8580 from jakesmith/hpcc-15472

HPCC-15472 Smart join crash during stop regression

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday %!s(int64=9) %!d(string=hai) anos
pai
achega
b9085e89a9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      thorlcr/activities/lookupjoin/thlookupjoinslave.cpp

+ 1 - 1
thorlcr/activities/lookupjoin/thlookupjoinslave.cpp

@@ -1570,7 +1570,7 @@ public:
 // IBCastReceive (only used if global)
     virtual void bCastReceive(CSendItem *sendItem, bool stop)
     {
-        if (bcast_stop == sendItem->queryCode())
+        if (sendItem && (bcast_stop == sendItem->queryCode()))
         {
             sendItem->Release();
             if (!stop)