fix license check bug

Former-commit-id: 7b0fb269f41dd6c1b3bf415a51e9f97260b8ab80
This commit is contained in:
groot 2019-06-10 19:25:51 +08:00
parent 51c9ffbaaf
commit 24498cd466
2 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,10 @@ LicenseCheck::LicenseCheck() {
}
LicenseCheck::~LicenseCheck() {
StopCountingDown();
}
ServerError
LicenseCheck::LegalityCheck(const std::string &license_file_path) {

View File

@ -15,6 +15,7 @@ namespace server {
class LicenseCheck {
private:
LicenseCheck();
~LicenseCheck();
public:
static LicenseCheck &