diff options
Diffstat (limited to 'apps/Gateway/Peer/Peer.h')
-rw-r--r-- | apps/Gateway/Peer/Peer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/Gateway/Peer/Peer.h b/apps/Gateway/Peer/Peer.h index 8a48de1c9a7..78cac65fa4a 100644 --- a/apps/Gateway/Peer/Peer.h +++ b/apps/Gateway/Peer/Peer.h @@ -140,6 +140,10 @@ protected: size_t total_bytes_; // The total number of bytes sent/received to the gatewayd thus far. + + int first_time_; + // Used to call register_stdin_handle only once. Otherwise, thread + // leak will occur on Win32. }; class ACE_Svc_Export Peer_Acceptor : public ACE_Acceptor<Peer_Handler, ACE_SOCK_ACCEPTOR> |