diff options
| author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-09-12 18:25:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-12 18:25:28 +0200 |
| commit | cdc5264a3ef08c0e6805eb38d3f632ca21a5171e (patch) | |
| tree | 12acf768a03838ee4721c1ededd2abd2f2793fca /core/io/file_access_network.cpp | |
| parent | 06667b2fcfcf130a9b9e8974c1c7ac0c9ae1de0a (diff) | |
| parent | 30327872e0d7989220a28a91a39d847dacca406d (diff) | |
| download | redot-engine-cdc5264a3ef08c0e6805eb38d3f632ca21a5171e.tar.gz | |
Merge pull request #21692 from Faless/sockets_rebase
New NetSocket interface with common BSD/Win implementation
Diffstat (limited to 'core/io/file_access_network.cpp')
| -rw-r--r-- | core/io/file_access_network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_network.cpp b/core/io/file_access_network.cpp index 8bffe3e88b..6b6856dcc8 100644 --- a/core/io/file_access_network.cpp +++ b/core/io/file_access_network.cpp @@ -227,7 +227,7 @@ FileAccessNetworkClient::FileAccessNetworkClient() { quit = false; singleton = this; last_id = 0; - client = Ref<StreamPeerTCP>(StreamPeerTCP::create_ref()); + client.instance(); sem = Semaphore::create(); lockcount = 0; } |
