IRAPISession: CeRapiUninit never called

Aug 16, 2011 at 1:24 PM

When I off the device RAPISession doesn't closed. Then I on the device and get new DeviceManager and get new connection but with old session. In this situation every operation on this Device resulted in RapiException with "Operation successfully completed" message.

Calling CeRapiUninit helped me. 

Aug 16, 2011 at 6:30 PM

Thanks. I have added a handler to CeRapiUninit when disposing the RemoteDevice. Testing does show better connect/disconnect behavior. Thanks for identifying this. Changes added in source code drop 69313 and will be added to the next release.

Aug 25, 2011 at 4:18 PM

Version 1.3.1 with call to CeRapiUninit in the disconnect event work correctly even with RemoteDirectory.GetFiles, thanks all