Skip to content

Commit

Permalink
refactor: remove an unnecessary assertDev
Browse files Browse the repository at this point in the history
  • Loading branch information
WofWca committed Apr 3, 2022
1 parent 1289c7e commit fc620ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/content/CloningController/CloningController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ export default class Controller {
const reinit = () => {
source?.disconnect();
const newStream = captureStream();
assertDev(newStream);
// Shouldn't we do something if there are no tracks?
if (newStream.getAudioTracks().length) {
source = audioContext.createMediaStreamSource(newStream);
Expand Down

0 comments on commit fc620ef

Please sign in to comment.