| Index: runtime/bin/eventhandler_android.cc
|
| diff --git a/runtime/bin/eventhandler_android.cc b/runtime/bin/eventhandler_android.cc
|
| index c298a049f3560a669f57d6dcbd216521690d0a0f..1b7bbdb0c53b4192aa2afa2edbbfcb20b41eeac0 100644
|
| --- a/runtime/bin/eventhandler_android.cc
|
| +++ b/runtime/bin/eventhandler_android.cc
|
| @@ -118,15 +118,7 @@ EventHandlerImplementation::EventHandlerImplementation()
|
| }
|
|
|
|
|
| -static void DeleteDescriptorInfo(void* info) {
|
| - DescriptorInfo* di = reinterpret_cast<DescriptorInfo*>(info);
|
| - di->Close();
|
| - delete di;
|
| -}
|
| -
|
| -
|
| EventHandlerImplementation::~EventHandlerImplementation() {
|
| - socket_map_.Clear(DeleteDescriptorInfo);
|
| VOID_TEMP_FAILURE_RETRY(close(epoll_fd_));
|
| VOID_TEMP_FAILURE_RETRY(close(interrupt_fds_[0]));
|
| VOID_TEMP_FAILURE_RETRY(close(interrupt_fds_[1]));
|
|
|