P4Libraries::Shutdown()
Clean up static initializations. Must be called with the same arguments as P4Libraries.Initialize().
For example, in sample/p4api.cc
the Initialize arguments are P4LIBRARIES_INIT_ALL
, &e
:
P4Libraries::Initialize( P4LIBRARIES_INIT_ALL, &e );
so the call to Shutdown uses those same arguments:
P4Libraries::Shutdown( P4LIBRARIES_INIT_ALL, &e );