Unify StreamPeerTCP/TCP_Server with NetSocket API

This commit is contained in:
Fabio Alessandrelli
2018-09-02 06:36:45 +02:00
parent 1b99806b47
commit 30327872e0
21 changed files with 411 additions and 1560 deletions

View File

@@ -1084,7 +1084,7 @@ ScriptDebuggerRemote::ScriptDebuggerRemote() :
max_frame_functions(16),
skip_profile_frame(false),
reload_all_scripts(false),
tcp_client(StreamPeerTCP::create_ref()),
tcp_client(Ref<StreamPeerTCP>(memnew(StreamPeerTCP))),
packet_peer_stream(Ref<PacketPeerStream>(memnew(PacketPeerStream))),
last_perf_time(0),
performance(Engine::get_singleton()->get_singleton_object("Performance")),