왠지 버그 고쳐짐..

This commit is contained in:
2025-05-09 23:31:25 +09:00
parent 74e73ccc23
commit 20f8c7b29d
3 changed files with 9 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ IOCP::~IOCP() {
void IOCP::destruct() {
#ifdef __linux__
uint64_t u = 1;
::write(epollDetroyerFd_, &u, sizeof(uint64_t));
::write(epollDetroyerFd, &u, sizeof(uint64_t));
close(epollfd_);
#endif
}