regex: don't hold state lock when pushing

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/533>
This commit is contained in:
Mathieu Duponchelle 2021-07-27 02:16:09 +02:00 committed by Sebastian Dröge
parent 232f0eef96
commit c1e558c93c

View file

@ -113,6 +113,8 @@ impl RegEx {
);
}
drop(state);
self.srcpad.push(outbuf)
}
}