mirror of https://github.com/buggins/dlangide.git
commit
f7b6e45ef3
|
@ -795,8 +795,8 @@ class TerminalDevice : Thread {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (masterfd && masterfd != -1) {
|
if (masterfd && masterfd != -1) {
|
||||||
import core.sys.posix.unistd;
|
import core.sys.posix.unistd: close_=close;
|
||||||
close(masterfd);
|
close_(masterfd);
|
||||||
masterfd = 0;
|
masterfd = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue