Changeset e6c1b6c


Ignore:
Timestamp:
11/20/13 05:08:48 (10 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
922329dd
Parents:
269e8ee
Message:

MountTray?: Make sure the devd watcher is not started until after the initial scan has finished. This should prevent crashes where two re-scans try to run at the same time and trample each other.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-mounttray/mountTray.cpp

    r74b4950 re6c1b6c  
    5050  trayIcon->show(); 
    5151 
     52  //Do an initial scan of the devices with dmesg 
     53  qDebug() << "-Performing initial device scan"; 
     54  scanInitialDevices(); 
     55   
    5256  //Startup the devd watching process 
    5357  qDebug() << "-Starting up the DEVD watcher"; 
     
    5660  connect(devdTimer,SIGNAL(timeout()),this,SLOT(slotDevChanges())); 
    5761  startupDevdProc(); 
    58    
    59   //Do an initial scan of the devices with dmesg 
    60   qDebug() << "-Performing initial device scan"; 
    61   scanInitialDevices(); 
    6262   
    6363  //Start up the filesystem watcher 
Note: See TracChangeset for help on using the changeset viewer.