Small cleanups [skip ci]

This commit is contained in:
Robin 2016-04-17 23:32:22 +02:00
parent 02a06a12b0
commit 98e6be5eb6
171 changed files with 1607 additions and 1769 deletions

View file

@ -27,7 +27,6 @@ using System.Collections.Specialized;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Security.Cryptography;
@ -968,7 +967,7 @@ Greenshot received information from CloudServiceName. You can close this browser
private string _cloudServiceName;
private IDictionary<string, string> _returnValues = new Dictionary<string, string>();
private readonly IDictionary<string, string> _returnValues = new Dictionary<string, string>();
/// <summary>
@ -991,7 +990,7 @@ Greenshot received information from CloudServiceName. You can close this browser
Process.Start(authorizationUrl);
// Wait to get the authorization code response.
var context = listener.BeginGetContext(new AsyncCallback(ListenerCallback), listener);
var context = listener.BeginGetContext(ListenerCallback, listener);
_ready.Reset();
while (!context.AsyncWaitHandle.WaitOne(1000, true)) {