We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fc7006 commit 8f16ad9Copy full SHA for 8f16ad9
1 file changed
lib/LiveUpdate/update.cpp
@@ -86,7 +86,7 @@ inline bool validate_header(const Class* hdr)
86
87
void LiveUpdate::exec(const buffer_t& blob, std::string key, storage_func func)
88
{
89
- register_serialization_callback(key, func);
+ if (func != nullptr) register_serialization_callback(key, func);
90
LiveUpdate::exec(blob);
91
}
92
0 commit comments