mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 09:32:09 +00:00
FIX: fix shard_ptr is null
Change-Id: I0187cf64ffbb08a2265a11900b5c865e9ac9678f
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user