Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #134 from vapor/fix-leak-queuehandler
Browse files Browse the repository at this point in the history
Fix a memory leak in QueueHandler
  • Loading branch information
tanner0101 authored Apr 21, 2018
2 parents c61a29e + a47e9b9 commit 89d4701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Async/QueueHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public final class QueueHandler<In, Out>: ChannelInboundHandler {
private let eventLoop: EventLoop

/// A write-ready context waiting.
private var waitingCtx: ChannelHandlerContext?
private weak var waitingCtx: ChannelHandlerContext?

/// Handles errors that happen when no input promise is waiting.
private var errorHandler: (Error) -> ()
Expand Down

0 comments on commit 89d4701

Please sign in to comment.