Skip to content

Commit 0d45390

Browse files
Stefan SchubertStefan Schubert
authored andcommitted
adjust code for old http client
1 parent 375b9a0 commit 0d45390

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/mustache/api.service.mustache

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,6 @@ export class {{classname}} {
409409
if (cancelPreviousRequest) {
410410
if (this.cancelMap['{{operationIdOriginal}}']) {
411411
this.cancelMap['{{operationIdOriginal}}'].next();
412-
this.cancelMap['{{operationIdOriginal}}'].complete();
413-
delete this.cancelMap['{{operationIdOriginal}}'];
414412
}
415413
this.cancelMap['{{operationIdOriginal}}'] = '{{httpMethod}}'.toUpperCase() === 'GET' ? new Subject<any>() : null;
416414
if(this.cancelMap['{{operationIdOriginal}}']) {

0 commit comments

Comments
 (0)