userlibandfileserver/fileserver/sfat32/sl_drv.cpp
changeset 201 43365a9b78a3
parent 200 73ea206103e6
equal deleted inserted replaced
200:73ea206103e6 201:43365a9b78a3
    47 */
    47 */
    48 void TDriveInterface::Close()
    48 void TDriveInterface::Close()
    49 {	 
    49 {	 
    50 	 if((iMount != NULL) && (iMount->LocalDrive() != NULL))
    50 	 if((iMount != NULL) && (iMount->LocalDrive() != NULL))
    51 		{
    51 		{
       
    52 		ASSERT(iMount->LocalDrive()->Mount() == NULL || iMount->LocalDrive()->Mount() == iMount);
    52 		iMount->LocalDrive()->SetMount(NULL);
    53 		iMount->LocalDrive()->SetMount(NULL);
    53 		}
    54 		}
    54      iMount = NULL;
    55      iMount = NULL;
    55 }
    56 }
    56 
    57