| Index: runtime/bin/socket_win.cc
|
| diff --git a/runtime/bin/socket_win.cc b/runtime/bin/socket_win.cc
|
| index 696f8cc6744f1b01e87fd4292a883472a9a6e697..87a0b30e2f5350a91da3cfdd841f0967243d14ce 100644
|
| --- a/runtime/bin/socket_win.cc
|
| +++ b/runtime/bin/socket_win.cc
|
| @@ -201,6 +201,7 @@ intptr_t Socket::GetStdioHandle(intptr_t num) {
|
| FileHandle* file_handle = new FileHandle(handle);
|
| if (file_handle == NULL) return -1;
|
| file_handle->MarkDoesNotSupportOverlappedIO();
|
| + file_handle->EnsureInitialized(EventHandler::delegate());
|
| return reinterpret_cast<intptr_t>(file_handle);
|
| }
|
|
|
|
|