@@ -101,6 +101,9 @@ namespace module
sol::object command(const std::string& cmd, sol::this_state ts);
sol::object command_ex(const sol::table& args, sol::this_state ts);
+
+ void close();
private:
// 连接
redisContext* m_context = nullptr;