Closed HanzCEO closed 4 years ago
Maybe im a little dumb or what, but i really need your help guys. So i make a new function:
def disconnect(): # enet_host_destroy(server) exit()
so my question is, is there any method like enet_host_destroy in this package? if there's any, where i should find it?
enet_host_destroy
Thanks
https://github.com/aresch/pyenet/blob/acb3d78731e587e3d07f349af649d9af025fe655/enet.pyx#L882-L884 The dealloc method on the Host object should do this for you when the Host gets deleted.
Maybe im a little dumb or what, but i really need your help guys. So i make a new function:
so my question is, is there any method like
enet_host_destroy
in this package? if there's any, where i should find it?Thanks