Hey, i am currently working on a CCAPI manager in python (because why not...)

I need help with how the shutdown process should be.. I can't get it working to save my life, so i came here.

Example of a CCAPI socket function:

You must login or register to view this content.

How would i get the shut down working.. Please help!