Skip to content
Snippets Groups Projects
Commit 0ee1cd4a authored by pantianying's avatar pantianying
Browse files

fix bug

parent 7f6fd6a6
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,7 @@ func (di *DubboInvoker) Invoke(ctx context.Context, invocation protocol.Invocati
// from the invoker list before destroy,so no new request will enter the destroyed invoker
logger.Warnf("this dubboInvoker is destroyed")
result.Err = ErrDestroyedInvoker
return &result
}
atomic.AddInt64(&(di.reqNum), 1)
defer atomic.AddInt64(&(di.reqNum), -1)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment