Check for valid reference.

pull/21833/head
Richard Lewis 2018-03-29 17:35:21 +01:00
parent 67f755efcb
commit c8f9586c9b
1 changed files with 3 additions and 1 deletions

View File

@ -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);