parent
6538970087
commit
a17cea8b8c
1 changed files with 2 additions and 2 deletions
|
|
@ -99,14 +99,14 @@ void CAsyncDialogBox::open(std::function<void(std::string)> onResolution) {
|
|||
|
||||
m_selfReference = m_selfWeakReference.lock();
|
||||
|
||||
m_dialogPid = proc.pid();
|
||||
|
||||
if (!proc.runAsync()) {
|
||||
Debug::log(ERR, "CAsyncDialogBox::open: failed to run async");
|
||||
wl_event_source_remove(m_readEventSource);
|
||||
return;
|
||||
}
|
||||
|
||||
m_dialogPid = proc.pid();
|
||||
|
||||
// close the write fd, only the dialog owns it now
|
||||
close(outPipe[1]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue