fix: destroy GetSize callback at last (#23930)
This commit is contained in:
parent
ac81a39e09
commit
2fadb73032
1 changed files with 2 additions and 2 deletions
|
@ -203,10 +203,10 @@ class JSChunkedDataPipeGetter : public gin::Wrappable<JSChunkedDataPipeGetter>,
|
||||||
}
|
}
|
||||||
|
|
||||||
void Finished() {
|
void Finished() {
|
||||||
size_callback_.Reset();
|
|
||||||
body_func_.Reset();
|
body_func_.Reset();
|
||||||
receiver_.reset();
|
|
||||||
data_producer_.reset();
|
data_producer_.reset();
|
||||||
|
receiver_.reset();
|
||||||
|
size_callback_.Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
GetSizeCallback size_callback_;
|
GetSizeCallback size_callback_;
|
||||||
|
|
Loading…
Reference in a new issue