MtpSource: prevent a freeze when dealing with Windows Phone (bgo#687495)
An ArgumentNullException was raised when accessing the BytesUsed property of MtpSource class, which can be easily avoided by checking for null first. If mtp_device is null it means that its initialization has not succeded, something which should be logged by the DeviceInitialize() method.
parent
1f8d8746
Please register or sign in to comment