FIX: fix shard_ptr is null
Change-Id: I0187cf64ffbb08a2265a11900b5c865e9ac9678f
This commit is contained in:
parent
4170639bc9
commit
1ac8c3ef19
|
@ -313,7 +313,7 @@ class MachineObject
|
|||
{
|
||||
private:
|
||||
NetworkAgent * m_agent{nullptr};
|
||||
std::shared_ptr<int> m_token = std::shared_ptr<int>(0);
|
||||
std::shared_ptr<int> m_token = std::make_shared<int>(1);
|
||||
|
||||
bool check_valid_ip();
|
||||
void _parse_print_option_ack(int option);
|
||||
|
|
Loading…
Reference in New Issue