summaryrefslogtreecommitdiff
path: root/editor/fileserver/editor_file_server.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-06 16:11:23 +0100
committerGitHub <noreply@github.com>2021-03-06 16:11:23 +0100
commitac249032bf5868e2f88eb206d3c5b261ed63c375 (patch)
treecf1a65730d6e4eacac4f324c0d76fb19eb9c3b10 /editor/fileserver/editor_file_server.h
parent17e66382b8e50cf7b58b8ecf4c12628408529538 (diff)
parent565796518d27e345c4d53a13048f306a8f2c57a7 (diff)
Merge pull request #46727 from RandomShaper/fix_nfs_crash
Fix crash on cleanup of EditorFileServer
Diffstat (limited to 'editor/fileserver/editor_file_server.h')
-rw-r--r--editor/fileserver/editor_file_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/fileserver/editor_file_server.h b/editor/fileserver/editor_file_server.h
index e4c8327d76..8ffd4f9692 100644
--- a/editor/fileserver/editor_file_server.h
+++ b/editor/fileserver/editor_file_server.h
@@ -47,7 +47,7 @@ class EditorFileServer : public Object {
};
struct ClientData {
- Thread thread;
+ Thread *thread;
Ref<StreamPeerTCP> connection;
Map<int, FileAccess *> files;
EditorFileServer *efs = nullptr;