Ignore:
Timestamp:
Nov 11, 2010, 11:16:07 PM (11 years ago)
Author:
Sven Rech
Message:

CrypP2P tries to reconnect now when SystemLeft event occurs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/P2PEditor/Distributed/JobListManager.cs

    r1727 r2081  
    103103            }
    104104
    105             var binaryReader = new BinaryReader(new MemoryStream(result.Data));
    106             distributedJob.Downloads = binaryReader.ReadInt32();
    107             distributedJob.LastDownload = DateTime.FromBinary(binaryReader.ReadInt64());
     105            if (result.Data != null)
     106            {
     107                var binaryReader = new BinaryReader(new MemoryStream(result.Data));
     108                distributedJob.Downloads = binaryReader.ReadInt32();
     109                distributedJob.LastDownload = DateTime.FromBinary(binaryReader.ReadInt64());
     110            }
    108111        }
    109112
Note: See TracChangeset for help on using the changeset viewer.