userlibandfileserver/fileserver/sfat32/sl_drv.cpp
branchRCL_3
changeset 19 4a8fed1c0ef6
parent 6 0173bcd7697c
child 22 2f92ad2dc5db
equal deleted inserted replaced
15:2d65c2f76d7b 19:4a8fed1c0ef6
    41 	aMount->LocalDrive()->SetMount(aMount);
    41 	aMount->LocalDrive()->SetMount(aMount);
    42     return iProxyDrive.Init(aMount->LocalDrive());
    42     return iProxyDrive.Init(aMount->LocalDrive());
    43 }
    43 }
    44 
    44 
    45 /**
    45 /**
    46     pseudo-destructor. 
    46     Close the interface to the media driver
    47 */
    47 */
    48 void TDriveInterface::Close()
    48 void TDriveInterface::Close()
    49 {
    49 {
    50 	 if(iMount)
    50 	 if(iMount)
       
    51 		{
    51 		iMount->LocalDrive()->SetMount(NULL);
    52 		iMount->LocalDrive()->SetMount(NULL);
       
    53         }
       
    54 
    52      iMount = NULL;
    55      iMount = NULL;
    53 }
    56 }
    54 
    57 
    55 //---------------------------------------------------------------------------------------------------------------------------------------
    58 //---------------------------------------------------------------------------------------------------------------------------------------
    56 
    59