Skip to content

Commit

Permalink
Merge pull request #516 from wischi-chr/pr-fix-crash-null-console-output
Browse files Browse the repository at this point in the history
Fix a crash in android import.
  • Loading branch information
Jessecar96 committed Jun 19, 2018
2 parents 25c86df + de25491 commit 5da4a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Steam Desktop Authenticator/PhoneBridge.cs
Expand Up @@ -55,7 +55,7 @@ private void InitConsole()

console.OutputDataReceived += (sender, e) =>
{
if (e.Data.Contains(">@") || !OutputToConsole || e.Data == "") return;
if (e?.Data == null || e.Data.Contains(">@") || !OutputToConsole || e.Data == "") return;
if (OutputToConsole)
Console.WriteLine(e.Data);
if (OutputToLog)
Expand Down

0 comments on commit 5da4a32

Please sign in to comment.