SPARK-678 Dont' crash on null array

This commit is contained in:
Eric Harding committed 2019-04-10 10:57:44 -04:00
1 parent a3de83dd04
commit adec1bdfd0
2 files changed
+16 -14

No files matched your search

+1 -1
View File
@@ -176,7 +176,7 @@ void safe_call_subscription_callback(raw_subscription_callback cb, EventType typ
if (updates.size() > 0)
cb(type, &updates[0], updates.size(), extra);
else
cb(type, nullptr, updates.size(), extra);
cb(type, nullptr, 0, extra);
});
}