Skip to content

Commit 32ca13a

Browse files
committed
removed todos
1 parent 92f6520 commit 32ca13a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lightbug_http/socket.mojo

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,9 @@ struct Socket[AddrType: Addr, address_family: Int = AF_INET](Representable, Stri
174174
logger.error("Socket.teardown: Failed to close socket.")
175175
raise e
176176

177-
# TODO: Removed until we can determine why __del__ bugs out in the client flow, but not server flow?
178177
fn __enter__(owned self) -> Self:
179178
return self^
180179

181-
# TODO: Seems to be bugged if this is included. Mojo tries to delete a mystical 0 fd socket that was never initialized?
182180
fn __del__(owned self):
183181
"""Close the socket when the object is deleted."""
184182
try:

0 commit comments

Comments
 (0)