Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Commit 54d2978

Browse files
committed
Fix use of incorrect context
Audio context, react context, what is life even?
1 parent 9c67797 commit 54d2978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/song.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default class Song extends Component {
100100
}
101101
}
102102
componentWillUnmount() {
103-
this.context.close();
103+
this.audioContext.close();
104104
}
105105
getMaster(): Object {
106106
return this;

0 commit comments

Comments
 (0)