From 5f61c0f47049a9d1db69d0aaebebddcd78ed82ad Mon Sep 17 00:00:00 2001 From: Helge Norberg Date: Wed, 15 May 2013 11:34:53 +0200 Subject: [PATCH] Fixed bug in output.cpp where an invalidated iterator was iterated --- core/consumer/output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/consumer/output.cpp b/core/consumer/output.cpp index 4c3647ef4..263ea1bbf 100644 --- a/core/consumer/output.cpp +++ b/core/consumer/output.cpp @@ -211,7 +211,7 @@ public: { CASPAR_LOG_CURRENT_EXCEPTION(); CASPAR_LOG(error) << "Failed to recover consumer: " << consumer->print() << L". Removing it."; - consumers_.erase(it); + it = consumers_.erase(it); } } } -- 2.39.2