diff --git a/session.c b/session.c index 0cd4e200..07a21cf5 100644 --- a/session.c +++ b/session.c @@ -366,8 +366,6 @@ SR_API int sr_session_stop(void) if (dev->driver) { if (dev->driver->dev_acquisition_stop) dev->driver->dev_acquisition_stop(dev->driver_index, dev); - if (dev->driver->cleanup) - dev->driver->cleanup(); } }