This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Changed Process:terminate() to exit with an error code of 1 instead of 0.
tags/2021-05-28
jules
12 years ago
parent
fc21a145cf
commit
c2afa62696
4 changed files
with
4 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
modules/juce_core/native/juce_android_Threads.cpp
+1
-1
modules/juce_core/native/juce_linux_Threads.cpp
+1
-1
modules/juce_core/native/juce_mac_Threads.mm
+1
-1
modules/juce_core/native/juce_win32_Threads.cpp
+ 1
- 2
modules/juce_core/native/juce_android_Threads.cpp
View File
@@ -64,8 +64,7 @@ void Process::setPriority (ProcessPriority prior)
void Process::terminate()
{
// TODO
exit (0);
std::exit (EXIT_FAILURE);
}
JUCE_API bool JUCE_CALLTYPE juce_isRunningUnderDebugger()
+ 1
- 1
modules/juce_core/native/juce_linux_Threads.cpp
View File
@@ -54,7 +54,7 @@ void Process::setPriority (const ProcessPriority prior)
void Process::terminate()
{
exit (0
);
std::exit (EXIT_FAILURE
);
}
JUCE_API bool JUCE_CALLTYPE juce_isRunningUnderDebugger()
+ 1
- 1
modules/juce_core/native/juce_mac_Threads.mm
View File
@@ -60,7 +60,7 @@ void Process::lowerPrivilege()
void Process::terminate()
{
exit (0
);
std::exit (EXIT_FAILURE
);
}
void Process::setPriority (ProcessPriority)
+ 1
- 1
modules/juce_core/native/juce_win32_Threads.cpp
View File
@@ -322,7 +322,7 @@ void Process::terminate()
#endif
// bullet in the head in case there's a problem shutting down..
ExitProcess (
0
);
ExitProcess (
1
);
}
bool juce_isRunningInWine()
Write
Preview
Loading…
Cancel
Save