Skip to content

Commit

Permalink
Merge pull request #45 from diegofrata/dev
Browse files Browse the repository at this point in the history
Fix deadlock when calling Dispose from the UI thread.
  • Loading branch information
merbla authored Mar 3, 2017
2 parents 7ccc3a5 + c81a9b0 commit 831860c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ private async Task Send(IEnumerable<LogEvent> events)
}

var request = new EventCollectorRequest(_splunkHost, allEvents.ToString(), _uriPath);
var response = await _httpClient.SendAsync(request);
var response = await _httpClient.SendAsync(request).ConfigureAwait(false);

if (response.IsSuccessStatusCode)
{
Expand Down

0 comments on commit 831860c

Please sign in to comment.