Skip to content

Disable button for changing scanner while scan is in progress to prevent sane from crashing

Alexander Wilms requested to merge (removed):master into master

When clicking "Reselect scanner device" during a scan, there was a segfault whose backtrace lead to ksanecore's ScanThread::readData().

I felt that instead of trying to properly handle this situation and deal with the involved threads, it'd be easier to disable the button during the scan.

Merge request reports