summaryrefslogtreecommitdiff
path: root/tools/editor/fileserver
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/fileserver')
-rw-r--r--tools/editor/fileserver/editor_file_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/fileserver/editor_file_server.cpp b/tools/editor/fileserver/editor_file_server.cpp
index 7ee33426a5..f72498f37f 100644
--- a/tools/editor/fileserver/editor_file_server.cpp
+++ b/tools/editor/fileserver/editor_file_server.cpp
@@ -311,11 +311,11 @@ void EditorFileServer::stop(){
EditorFileServer::EditorFileServer() {
server = TCP_Server::create_ref();
- thread=Thread::create(_thread_start,this);
wait_mutex = Mutex::create();
quit=false;
active=false;
cmd=CMD_NONE;
+ thread=Thread::create(_thread_start,this);
EDITOR_DEF("file_server/port",6010);
EDITOR_DEF("file_server/password","");