| 210 | } |
| 211 | |
| 212 | static SignalStopState* instance() { |
| 213 | static std::shared_ptr<SignalStopState> instance = []() { |
| 214 | auto ptr = std::make_shared<SignalStopState>(); |
| 215 | ptr->Init(); |
| 216 | return ptr; |
| 217 | }(); |
| 218 | return instance.get(); |
| 219 | } |
| 220 | |
| 221 | private: |
| 222 | void SpawnSignalReceivingThread() { |