Skip to content

Commit

Permalink
Merge tag v13.4.1 into v14.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
nemanja-boric-sociomantic committed May 23, 2018
2 parents 7411488 + 817ba2e commit ca93585
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dhtproto/client/legacy/internal/helper/RetryHandshake.d
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ unittest

// Start the handshake
auto retry_delay_seconds = 3;
new RetryHandshake(this.epoll, this.dht, retry_delay_seconds,
// Store the reference to the RetryHandshake
// object so it doesn't get garbage collected.
auto handshake = new RetryHandshake(this.epoll, this.dht, retry_delay_seconds,
&this.handshake_complete_dg, &this.node_connected_dg);

this.epoll.eventLoop();
Expand Down

0 comments on commit ca93585

Please sign in to comment.