MCPcopy Create free account
hub / github.com/EQEmu/EQEmu / command_deinit

Function command_deinit

zone/command.cpp:369–381  ·  view source on GitHub ↗

* command_deinit * clears the command list, freeing resources * * Parameters: * none * */

Source from the content-addressed store, hash-verified

367 *
368 */
369void command_deinit(void)
370{
371 for (auto &c : command_delete_list) {
372 delete c;
373 }
374
375 command_delete_list.clear();
376 commandlist.clear();
377 commandaliases.clear();
378
379 command_dispatch = command_notavail;
380 command_count = 0;
381}
382
383/*
384 * command_add

Callers 2

command_initFunction · 0.85
mainFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected