Philippe was right, of course, the media checker thread did not bother to
check the fTerminating flag, so it would never quit (too bad no one ever quits it anyway :-)). Thanks for proofreading! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22919 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7333992516
commit
64a19b4444
@ -1129,7 +1129,7 @@ KDiskDeviceManager::_ScanPartition(KPartition *partition)
|
||||
status_t
|
||||
KDiskDeviceManager::_CheckMediaStatus()
|
||||
{
|
||||
while (true) {
|
||||
while (!fTerminating) {
|
||||
int32 cookie = 0;
|
||||
while (KDiskDevice* device = RegisterNextDevice(&cookie)) {
|
||||
DeviceWriteLocker locker(device);
|
||||
|
Loading…
Reference in New Issue
Block a user