MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / destroy

Method destroy

src/hx/libs/std/Socket.cpp:1108–1123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106 }
1107
1108 void destroy()
1109 {
1110 if (ok)
1111 {
1112 ok = false;
1113 #ifdef NEKO_WINDOWS
1114 free(fdr);
1115 free(fdw);
1116 free(outr);
1117 free(outw);
1118 #else
1119 // ???
1120 free(fds);
1121 #endif
1122 }
1123 }
1124
1125 void __Mark(hx::MarkContext *__inCtx) HXCPP_OVERRIDE { HX_MARK_MEMBER(ridx); HX_MARK_MEMBER(widx); }
1126 #ifdef HXCPP_VISIT_ALLOCS

Callers 1

finalizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected