Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
rogurotus committed Oct 20, 2023
1 parent 9848a24 commit 94d8522
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions flutter/test/e2e/suite.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ final testConfigs = FlutterTestConfiguration(
oldWorld = world;
await world.controlClient
.create(world.roomId, Room(world.roomId, {}));
print('\n\n\n\n');
return world;
}),
defaultTimeout: const Duration(seconds: 60),
Expand Down
6 changes: 6 additions & 0 deletions src/media/track/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,12 @@ impl Track {
}
}

impl Drop for Track {
fn drop(&mut self) {
platform::spawn(Box::pin(self.0.track.stop()));
}
}

/// Media exchange direction of a [`Track`].
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(u8)]
Expand Down

0 comments on commit 94d8522

Please sign in to comment.