Skip to content

Commit

Permalink
Code block consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaDemchenko committed Nov 18, 2024
1 parent 88b0d0d commit 9faf166
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/p2p-media-loader-core/src/hybrid-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export class HybridLoader {
}
break;

case "succeed":
case "succeed": {
if (!type) break;
if (type === "http") {
this.p2pLoaders.currentLoader.broadcastAnnouncement();
Expand Down Expand Up @@ -218,6 +218,7 @@ export class HybridLoader {
);
break;
}

case "failed":
if (type === "http" && !isHandledByProcessQueue) {
this.p2pLoaders.currentLoader.broadcastAnnouncement();
Expand Down

0 comments on commit 9faf166

Please sign in to comment.