Skip to content
Commit 4f69e719 authored by Andrés G. Aragoneses's avatar Andrés G. Aragoneses
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment