diff --git a/cscore/src/main/native/cpp/Instance.cpp b/cscore/src/main/native/cpp/Instance.cpp index 33ee5968d92..d3b3c8b5b59 100644 --- a/cscore/src/main/native/cpp/Instance.cpp +++ b/cscore/src/main/native/cpp/Instance.cpp @@ -98,6 +98,9 @@ void Instance::DestroySource(CS_Source handle) { void Instance::DestroySink(CS_Sink handle) { if (auto data = m_sinks.Free(handle)) { + if (auto source = data->sink->GetSource()) { + source->Wakeup(); + } notifier.NotifySink(data->sink->GetName(), handle, CS_SINK_DESTROYED); } }