mirror of https://github.com/vector-im/riot-web
Check for valid reference.
parent
67f755efcb
commit
c8f9586c9b
|
@ -90,8 +90,10 @@ export default class Stickerpicker extends React.Component {
|
|||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
if (this.dispatcherRef) {
|
||||
dis.unregister(this.dispatcherRef);
|
||||
}
|
||||
}
|
||||
|
||||
_imError(errorMsg, e) {
|
||||
console.error(errorMsg, e);
|
||||
|
|
Loading…
Reference in New Issue