mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix unhandled exception
This commit is contained in:
parent
c456ef9118
commit
e6f19a4abf
3 changed files with 2 additions and 7 deletions
|
|
@ -1,10 +1,5 @@
|
|||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<!--http://stackoverflow.com/questions/186854/how-to-prevent-an-exception-in-a-background-thread-from-terminating-an-application-->
|
||||
<!--prevent non-ui exception crash wox-->
|
||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||
</runtime>
|
||||
<startup>
|
||||
<supportedRuntime version="v2.0.50727" />
|
||||
<supportedRuntime version="v4.0" />
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ namespace Wox
|
|||
|
||||
}
|
||||
|
||||
[Conditional("DEBUG")]
|
||||
[Conditional("RELEASE")]
|
||||
private void RegisterUnhandledException()
|
||||
{
|
||||
// let exception throw as normal is better for Debug
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\Output\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DefineConstants>TRACE;RELEASE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
|
|
|
|||
Loading…
Reference in a new issue