From af3344a8e5a5193cf3a613c0511c1380b5c7a0ef Mon Sep 17 00:00:00 2001 From: Yauhen Pahrabniak Date: Wed, 13 Sep 2023 13:11:25 +0200 Subject: [PATCH] Crash fix --- server/src/bindings/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/bindings/Player.cpp b/server/src/bindings/Player.cpp index c077c2e6..3753ce93 100644 --- a/server/src/bindings/Player.cpp +++ b/server/src/bindings/Player.cpp @@ -860,7 +860,7 @@ static void RequestCloudID(const v8::FunctionCallbackInfo& info) [&persistent, resource](bool ok, const std::string& result) { resource->RunOnNextTick( - [=, &persistent, &resource]() + [=, &persistent]() { if(!resource->GetResource()->IsStarted()) {