Appease the linter

This commit is contained in:
Travis Ralston 2020-09-30 20:49:31 -06:00
parent 08c5e9e039
commit 2ec94e8a69
5 changed files with 4 additions and 7 deletions

View file

@ -150,7 +150,7 @@ export default class AppTile extends React.Component {
this.setState({initialising: false});
});
}
_iframeRefChange = (ref) => {
this.setState({iframe: ref});
if (ref) {
@ -223,7 +223,7 @@ export default class AppTile extends React.Component {
* @private
* @returns {Promise<*>} Resolves when the widget is terminated, or timeout passed.
*/
_endWidgetActions() {
async _endWidgetActions() { // widget migration dev note: async to maintain signature
// HACK: This is a really dirty way to ensure that Jitsi cleans up
// its hold on the webcam. Without this, the widget holds a media
// stream open, even after death. See https://github.com/vector-im/element-web/issues/7351