Skip to content

Commit

Permalink
Cleaning up leftover temp directory when using .NET SafariDriver
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Feb 4, 2014
1 parent 66a3a0d commit 980e438
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dotnet/src/webdriver/Safari/SafariDriverExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ private void RestoreSafariSettings()
{
File.Copy(backupPropertyListPath, Path.Combine(safariExtensionsDirectory, ExtensionsPropertyListFileName), true);
}

FileUtilities.DeleteDirectory(this.backupDirectory);
}
}
}
Expand Down

0 comments on commit 980e438

Please sign in to comment.