userlibandfileserver/fileserver/sfat32/sl_drv.cpp
branchRCL_3
changeset 36 bbf8bed59bcb
parent 22 2f92ad2dc5db
child 42 a179b74831c9
equal deleted inserted replaced
28:5b5d147c7838 36:bbf8bed59bcb
    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 
    55 
    55      iMount = NULL;
    56      iMount = NULL;
    56 }
    57 }