Clementine-audio-player-Mac.../src/devices
Jim Broadus 248f1d8596 Prevent UI hang during device scan. (#6291)
When unmounting a device, the ConnectedDevice object is destroyed. The
FileSystemDevice destructor waits on its worker thread. If a scan is in
progress, this will block until completion.

There is an existing Stop method in the LibraryWatcher class that is intended to
stop long running operations. To fix, or at least significantly shorten this
hang, we'll call this before waiting for the thread to exit. Also add a
stop_requested check in the cover art scan.

In addition, add a call to Stop in the Library destructor, which has a similar
usage.
2019-02-20 19:03:44 +11:00
..
cddadevice.cpp Revert "Use constructor for QString and make format" 2014-11-05 12:25:09 +01:00
cddadevice.h Finish CD integration update to Gstreamer 1.0 2014-10-26 03:32:37 +01:00
cddalister.cpp Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
cddalister.h gstreamer-cdda is in gst-plugins-base in 1.0 and has a different header name. 2014-09-22 22:28:53 +10:00
cddasongloader.cpp Fix encoding of GError messages when logging. (#6228) 2018-12-02 09:51:19 +00:00
cddasongloader.h Load the audio cd in a separate thread 2018-07-06 17:09:21 +01:00
connecteddevice.cpp Fix memory leak and use ItemToIndex / IndexToItem (#6262) 2019-01-21 21:38:46 +00:00
connecteddevice.h Handle MTP connection failures more gracefully. (#6256) 2019-01-15 21:10:05 +00:00
devicedatabasebackend.cpp Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
devicedatabasebackend.h Use nullptr as parent parameter default everywhere 2014-02-10 16:03:54 +01:00
deviceinfo.cpp Convert devices manager(model) to QAbstractItemModel (#6260) 2019-01-21 09:06:48 +00:00
deviceinfo.h Convert devices manager(model) to QAbstractItemModel (#6260) 2019-01-21 09:06:48 +00:00
devicekitlister.cpp Spelling: D-Bus (#5837) 2017-08-28 23:37:25 +02:00
devicekitlister.h Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
devicelister.cpp Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
devicelister.h Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
devicemanager.cpp Fix memory leak and use ItemToIndex / IndexToItem (#6262) 2019-01-21 21:38:46 +00:00
devicemanager.h Fix memory leak and use ItemToIndex / IndexToItem (#6262) 2019-01-21 21:38:46 +00:00
deviceproperties.cpp Fix memory leak and use ItemToIndex / IndexToItem (#6262) 2019-01-21 21:38:46 +00:00
deviceproperties.h Fix memory leak and use ItemToIndex / IndexToItem (#6262) 2019-01-21 21:38:46 +00:00
deviceproperties.ui Make the BusyIndicator contain a label too 2011-08-27 15:03:04 +01:00
devicestatefiltermodel.cpp Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
devicestatefiltermodel.h Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
deviceview.cpp Fix memory leak and use ItemToIndex / IndexToItem (#6262) 2019-01-21 21:38:46 +00:00
deviceview.h Fix memory leak and use ItemToIndex / IndexToItem (#6262) 2019-01-21 21:38:46 +00:00
deviceviewcontainer.cpp check custom icon location, then system theme & then fallback theme 2015-10-13 22:35:49 -05:00
deviceviewcontainer.h Use nullptr as parent parameter default everywhere 2014-02-10 16:03:54 +01:00
deviceviewcontainer.ui Show a message in the Devices pane on Windows to say that most devices won't work. Fixes #4059 2014-01-05 11:32:07 +11:00
filesystemdevice.cpp Prevent UI hang during device scan. (#6291) 2019-02-20 19:03:44 +11:00
filesystemdevice.h Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
giolister.cpp Try to obtain USB bus and device number from device name if unavailable in URI. (#6243) 2019-01-02 15:06:22 +00:00
giolister.h disconnect GVolumeMonitor signals from GioLister before destroying it 2016-05-11 17:58:12 +03:00
gpoddevice.cpp Quit thread before deleting the loader (#6254) 2019-01-15 17:57:00 +00:00
gpoddevice.h Fix device loader error messages. (#6215) 2018-11-28 10:23:31 +00:00
gpodloader.cpp Fix encoding of GError messages when logging. (#6228) 2018-12-02 09:51:19 +00:00
gpodloader.h Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
macdevicelister.h Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
macdevicelister.mm Some more NULL -> nullptr conversions. 2014-02-21 17:30:46 +01:00
mtpconnection.cpp Try to obtain USB bus and device number from device name if unavailable in URI. (#6243) 2019-01-02 15:06:22 +00:00
mtpconnection.h Reformat all non-3rd-party C/C++/Objective-C++. 2014-02-07 16:34:20 +01:00
mtpdevice.cpp Handle MTP connection failures more gracefully. (#6256) 2019-01-15 21:10:05 +00:00
mtpdevice.h Handle MTP connection failures more gracefully. (#6256) 2019-01-15 21:10:05 +00:00
mtploader.cpp Handle MTP connection failures more gracefully. (#6256) 2019-01-15 21:10:05 +00:00
mtploader.h Handle MTP connection failures more gracefully. (#6256) 2019-01-15 21:10:05 +00:00
udisks2lister.cpp Spelling: D-Bus (#5838) 2017-08-28 23:37:47 +02:00
udisks2lister.h Remove non-static data member initializers 2016-07-06 14:26:45 +01:00