File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1+ - Fix blocking functions in the emulator when using multiple codebases (#6504 ).
Original file line number Diff line number Diff line change @@ -566,8 +566,6 @@ export class FunctionsEmulator implements EmulatorInstance {
566566 } else {
567567 this . workerPools [ emulatableBackend . codebase ] . refresh ( ) ;
568568 }
569- // reset blocking functions config for reloads
570- this . blockingFunctionsConfig = { } ;
571569
572570 // When force is true we set up all triggers, otherwise we only set up
573571 // triggers which have a unique function name
@@ -1436,6 +1434,8 @@ export class FunctionsEmulator implements EmulatorInstance {
14361434
14371435 async reloadTriggers ( ) {
14381436 this . triggerGeneration ++ ;
1437+ // reset blocking functions config for reloads
1438+ this . blockingFunctionsConfig = { } ;
14391439 for ( const backend of this . args . emulatableBackends ) {
14401440 await this . loadTriggers ( backend ) ;
14411441 }
You can’t perform that action at this time.
0 commit comments