Good point. Rolf- any chance you could insert a sleep at the end of main()? Also, does the backend in question use fork() on this distro?
allan On Mon, Aug 17, 2015 at 8:30 PM, Olaf Meeuwissen <[email protected]> wrote: > > m. allan noah writes: > >> I don't understand. Registered atexit handlers should be called when >> main() returns, which is after sane_cancel. What version of >> libusb-compat is in use? > > Please remember that sane_cancel() only *initiates* cancellation. So > cancellation may not have finished yet when main() returns. I'm not > sure if this is causing the problem but thought I'd mention it anyway. > > Hope this helps, > -- > Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- EPSON AVASYS CORPORATION > FSF Associate Member #1962 Help support software freedom > http://www.fsf.org/jf?referrer=1962 -- "well, I stand up next to a mountain- and I chop it down with the edge of my hand" -- sane-devel mailing list: [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to [email protected]
