Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Commit

Permalink
Changes ThrowUnobservedTaskExceptions
Browse files Browse the repository at this point in the history
- Changes ThrowUnobservedTaskExceptions to false.
  • Loading branch information
johanneszab committed Nov 18, 2017
1 parent 0eac015 commit cc353a8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/TumblThree/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@

[assembly: ComVisible(false)]
[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.MainAssembly)]
[assembly: AssemblyVersion("1.0.8.31")]
[assembly: AssemblyFileVersion("1.0.8.31")]
[assembly: AssemblyVersion("1.0.8.32")]
[assembly: AssemblyFileVersion("1.0.8.32")]
2 changes: 1 addition & 1 deletion src/TumblThree/TumblThree.Applications/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<runtime>
<loadFromRemoteSources enabled="true"/>
<ThrowUnobservedTaskExceptions enabled="true"/>
<ThrowUnobservedTaskExceptions enabled="false"/>
</runtime>
<!--<system.net>
<connectionManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Threading;
using System.Threading.Tasks;

using TumblThree.Applications.Extensions;
using TumblThree.Applications.Properties;
using TumblThree.Applications.Services;

Expand Down Expand Up @@ -122,7 +121,7 @@ public async Task<bool> DownloadFileWithResumeAsync(string url, string destinati
{
var fileInfo = new FileInfo(destinationPath);
totalBytesReceived = fileInfo.Length;
if (totalBytesReceived >= await CheckDownloadSizeAsync(url).TimeoutAfter(settings.TimeOut))
if (totalBytesReceived >= await CheckDownloadSizeAsync(url))
return true;
}
if (ct.IsCancellationRequested)
Expand Down
2 changes: 1 addition & 1 deletion src/TumblThree/TumblThree.Domain/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

<runtime>
<loadFromRemoteSources enabled="true"/>
<ThrowUnobservedTaskExceptions enabled="true"/>
<ThrowUnobservedTaskExceptions enabled="false"/>
</runtime>
</configuration>
2 changes: 1 addition & 1 deletion src/TumblThree/TumblThree.Presentation/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<runtime>
<loadFromRemoteSources enabled="true"/>
<ThrowUnobservedTaskExceptions enabled="true"/>
<ThrowUnobservedTaskExceptions enabled="false"/>
</runtime>
<applicationSettings>
<TumblThree.Presentation.Properties.Settings>
Expand Down

0 comments on commit cc353a8

Please sign in to comment.