summaryrefslogtreecommitdiff
path: root/source/tanya/event/internal/epoll.d
diff options
context:
space:
mode:
Diffstat (limited to 'source/tanya/event/internal/epoll.d')
-rw-r--r--source/tanya/event/internal/epoll.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/tanya/event/internal/epoll.d b/source/tanya/event/internal/epoll.d
index 0e76c3a..a129661 100644
--- a/source/tanya/event/internal/epoll.d
+++ b/source/tanya/event/internal/epoll.d
@@ -59,7 +59,7 @@ class EpollLoop : Loop
*/
~this()
{
- finalize(defaultAllocator, epollEvents);
+ dispose(defaultAllocator, epollEvents);
}
/**
@@ -125,7 +125,7 @@ class EpollLoop : Loop
// If it is a ConnectionWatcher
if (connection is null && connections[client] !is null)
{
- finalize(defaultAllocator, connections[client]);
+ dispose(defaultAllocator, connections[client]);
connections[client] = null;
}
}
@@ -198,7 +198,7 @@ class EpollLoop : Loop
catch (TransportException e)
{
swapPendings.insertBack(connection);
- finalize(defaultAllocator, e);
+ dispose(defaultAllocator, e);
}
}
else if (ev.events & (EPOLLOUT | EPOLLERR | EPOLLHUP))