Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions src/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,6 @@

namespace element {

namespace detail {
inline static void setupChildProcessHandlers (RunMode mode)
{
if (mode == RunMode::Plugin)
return;
#if JUCE_LINUX
// JUCE allows zombie processes... this prevents them as a workaround.
static bool _init = false;
if (! _init)
{
_init = true;
signal (SIGCHLD, SIG_IGN);
}
#endif
}
} // namespace detail

class Context::Impl
{
public:
Expand Down Expand Up @@ -109,7 +92,6 @@ class Context::Impl
Context::Context (RunMode mode, const String& _cli)
{
impl.reset (new Impl (*this, mode));
detail::setupChildProcessHandlers (mode);
impl->init();
}

Expand Down
Loading