[Node] Load nodes after network start
This commit is contained in:
parent
3a773df44b
commit
f5786d0bbb
@ -173,8 +173,6 @@ namespace Components
|
||||
|
||||
if (!Loader::PerformingUnitTests())
|
||||
{
|
||||
Node::LoadNodeRemotePreset();
|
||||
|
||||
while (!News::Terminate)
|
||||
{
|
||||
News::CheckForUpdate();
|
||||
|
@ -878,6 +878,14 @@ namespace Components
|
||||
|
||||
// Install frame handlers
|
||||
QuickPatch::OnFrame(Node::FrameHandler);
|
||||
|
||||
Network::OnStart([] ()
|
||||
{
|
||||
std::thread([] ()
|
||||
{
|
||||
Node::LoadNodeRemotePreset();
|
||||
}).detach();
|
||||
});
|
||||
}
|
||||
|
||||
Node::~Node()
|
||||
|
Loading…
Reference in New Issue
Block a user