mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-07-04 04:55:30 +02:00
fix(pty): create a loop per pty
Prevents segmentation faults due to several threads trying to run the same (default) loop.
This commit is contained in:
parent
a0c9777264
commit
481a1cb04a
2 changed files with 9 additions and 6 deletions
|
@ -100,6 +100,7 @@ namespace godot
|
|||
void _thread_func();
|
||||
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
uv_loop_t loop;
|
||||
uv_pipe_t pipe;
|
||||
Error _pipe_open(const int fd);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue