Fix Memory leak in GrabberWrapper

This commit is contained in:
LordGrey
2023-12-28 17:58:59 +01:00
parent 1cc87831cb
commit 592e61de2c

View File

@@ -56,6 +56,8 @@ GrabberWrapper::GrabberWrapper(const QString& grabberName, Grabber * ggrabber, i
GrabberWrapper::~GrabberWrapper()
{
_timer->stop();
delete _timer;
GrabberWrapper::instance = nullptr;
}