mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-06-28 18:25:31 +02:00
pty hotfix to not crash godot when exiting tree
This commit is contained in:
parent
f3820365c6
commit
26ad5c0810
1 changed files with 1 additions and 2 deletions
|
@ -189,10 +189,9 @@ Dictionary PTYWin::open(
|
|||
|
||||
void PTYWin::close(uint64_t hpc, int fd, int fd_out)
|
||||
{
|
||||
ClosePseudoConsole(reinterpret_cast<HPCON>(hpc));
|
||||
|
||||
// TODO(ast) this causes assertion errors. Might be related to this: https://stackoverflow.com/questions/5984144/assertion-error-in-crt-calling-osfile-in-vs-2008
|
||||
// TODO(ast) leave for now and return when the linking issues are figured out (see SConstruct file)
|
||||
// ClosePseudoConsole(reinterpret_cast<HPCON>(hpc));
|
||||
// // Drain remaining data
|
||||
// char drain_buf[4096];
|
||||
// int bytes_read = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue