client: extra cleanup

This commit is contained in:
Michael Davidsaver
2020-09-13 09:26:34 -07:00
parent 86fa8c8cf6
commit cc8fdb113a
+2 -1
View File
@@ -183,7 +183,8 @@ struct GPROp : public OperationBase
}
if(state==GetOPut || state==Exec) {
chan->conn->sendDestroyRequest(chan->sid, ioid);
}
if(state==Creating || state==GetOPut || state==Exec) {
// This opens up a race with an in-flight reply.
chan->conn->opByIOID.erase(ioid);
chan->opByIOID.erase(ioid);