diff options
| author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-04-30 15:52:29 +0200 | 
|---|---|---|
| committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-02-05 03:27:19 +0100 | 
| commit | 3acc39095ea668dc4fe2b2f907a8cdec4be3a6f9 (patch) | |
| tree | aa4541b2bcbd8f93519f73223c6080e92f51876a | |
| parent | d091995e058e3b143ed44f484a05058c856922cc (diff) | |
[Net] Fix bogus FileAccessNetwork deconstructor.
Now correctly erases old instances.
The code will likely need overhaul anyway to be usable.
It doesn't apply to editor runs, there's a bunch of inconsistencies on
how to clients are handled, and I don't really understand why multiple
instances are created for a single client/server.
| -rw-r--r-- | core/io/file_access_network.cpp | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/core/io/file_access_network.cpp b/core/io/file_access_network.cpp index 307004b1c2..cb38ac0928 100644 --- a/core/io/file_access_network.cpp +++ b/core/io/file_access_network.cpp @@ -487,7 +487,6 @@ FileAccessNetwork::~FileAccessNetwork() {  	FileAccessNetworkClient *nc = FileAccessNetworkClient::singleton;  	nc->lock_mutex(); -	id = nc->last_id++;  	nc->accesses.erase(id);  	nc->unlock_mutex();  }  |