From 2ba8a1a748ee1a11a20fcfacb9880c8e4ca374fe Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Thu, 21 Dec 2023 07:56:58 -0600 Subject: [PATCH] GH-2006 Check for null --- plugins/producer_plugin/producer_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/producer_plugin/producer_plugin.cpp b/plugins/producer_plugin/producer_plugin.cpp index bd4041676d..87bfb77064 100644 --- a/plugins/producer_plugin/producer_plugin.cpp +++ b/plugins/producer_plugin/producer_plugin.cpp @@ -736,7 +736,7 @@ class producer_plugin_impl : public std::enable_shared_from_thistimestamp.next().to_time_point() >= now) { + if (hb && hb->timestamp.next().to_time_point() >= now) { _production_enabled = true; }