Skip to content

Commit

Permalink
Fix for crash on boot if eve is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
BitBaboonSteve committed Oct 4, 2020
1 parent 28ea3d5 commit 3cc5d1d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions EVEData/EveManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1646,6 +1646,11 @@ private void FileWatcher(string eveLogFolder)
{
Thread.CurrentThread.IsBackground = false;

if (!Directory.Exists(eveLogFolder))
{
return;
}

// loop forever
while (WatcherThreadShouldTerminate == false)
{
Expand Down

0 comments on commit 3cc5d1d

Please sign in to comment.