userlibandfileserver/fileserver/sfat32/sl_drv.cpp
changeset 176 af6ec97d9189
parent 148 31ea0f8e3c99
equal deleted inserted replaced
175:5af6c74cd793 176:af6ec97d9189
    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