Function MySQLPoolImpl.removeUnusedConnections

Removes all unused connections from the pool. This can be used to clean up before exiting the program to ensure the event core driver can be properly shut down.

void removeUnusedConnections() @safe;

Note

this is only available if vibe-core 1.7.0 or later is being used.