oatpp / example-crud

A complete example of a "CRUD" service (UserService) built with Oat++.
https://oatpp.io/
Apache License 2.0
100 stars 63 forks source link

Fix tests #10

Closed lganzzzo closed 3 years ago

lganzzzo commented 3 years ago

@ktnr The actual fix is to stop the connection pool of the database.

OATPP_COMPONENT(std::shared_ptr<oatpp::provider::Provider<oatpp::sqlite::Connection>>, dbConnectionProvider);
dbConnectionProvider->stop();