diff options
| author | bors <bors@rust-lang.org> | 2014-03-12 22:36:40 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-03-12 22:36:40 -0700 |
| commit | 792da8424f4f422c2750607dcc243315fdff9fc3 (patch) | |
| tree | 379b00baf982ea5b67c998f7f94f61e7af21eaf2 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | e86e1d88b2842671123d0a072d00c94bd3f39264 (diff) | |
| parent | 65cca4bd3fa0abe1000662014b3e3ea1420728f5 (diff) | |
| download | rust-792da8424f4f422c2750607dcc243315fdff9fc3.tar.gz rust-792da8424f4f422c2750607dcc243315fdff9fc3.zip | |
auto merge of #12823 : alexcrichton/rust/issue-12666, r=pcwalton
If a TTY fails to get initialized, it still needs to have uv_close invoked on it. This fixes the problem by constructing the TtyWatcher struct before the call to uv_tty_init. The struct has a destructor on it which will close the handle properly. Closes #12666
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
