aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorEleanor Eng <eleanor_eng@brown.edu>2019-04-20 18:20:00 -0400
committerEleanor Eng <eleanor_eng@brown.edu>2019-04-20 18:20:00 -0400
commit6304e03f953b2cc66dcc1a0900855376ff739015 (patch)
tree86b5fdab7f1d5a844c7e9d2e291bb6645f746bc5 /src/client/views/nodes/PDFBox.tsx
parent5469990566c237014d3350ddb1709c253feb2a55 (diff)
parent83367785f0414232c29150ab043e1999ea4796e4 (diff)
disposer function
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r--src/client/views/nodes/PDFBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx
index 81ceb37f6..c73ee4f21 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -108,6 +108,7 @@ export class PDFBox extends React.Component<FieldViewProps> {
componentWillUnmount() {
if (this._reactionDisposer) {
this._reactionDisposer();
+ this._reactionDisposer = undefined;
}
}