Commit a5118327af0ac3c49370d2030ebdfa969e1d63ae

Thomas de Grivel 2018-06-17T17:02:34

epoll: delete worker on error

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/thot-epoll.lisp b/thot-epoll.lisp
index 9c0e49b..3906d70 100644
--- a/thot-epoll.lisp
+++ b/thot-epoll.lisp
@@ -83,7 +83,7 @@
   ())
 
 (defmethod agent-error ((epoll epoll-infos) (worker worker))
-  (error 'worker-error :agent worker))
+  (epoll-del epoll worker))
 
 (defmethod agent-in ((epoll epoll-infos) (worker worker))
   (let ((reader-cont (worker-reader-cont worker)))