Skip to content
Snippets Groups Projects
  • Nicolas "Pixel" Noble's avatar
    70224369
    For GRPCOperation's, ensure finish _handler can only be called once, and... · 70224369
    Nicolas "Pixel" Noble authored
    For GRPCOperation's, ensure finish _handler can only be called once, and release it when called, so weak ptrs needn't be used with it, and the call won't be released until the finish handler is called.
    When the connectivityMonitor determines the connection has been lost, pull the host disconnect call. Creates an unreliable connection when connectivity is restored. Calling finishWithError: is sufficient.
    70224369
    History
    For GRPCOperation's, ensure finish _handler can only be called once, and...
    Nicolas "Pixel" Noble authored
    For GRPCOperation's, ensure finish _handler can only be called once, and release it when called, so weak ptrs needn't be used with it, and the call won't be released until the finish handler is called.
    When the connectivityMonitor determines the connection has been lost, pull the host disconnect call. Creates an unreliable connection when connectivity is restored. Calling finishWithError: is sufficient.