From 16a1f89bf6441c7699b14e7186910da5bd7a985d Mon Sep 17 00:00:00 2001 From: Horcrux Date: Thu, 21 Jul 2016 18:45:30 +0800 Subject: [PATCH] fix radial gradient memory leak --- Example/examples/Text.js | 17 -------- ios/Brushes/RNSVGBrushConverter.m | 66 +------------------------------ 2 files changed, 1 insertion(+), 82 deletions(-) diff --git a/Example/examples/Text.js b/Example/examples/Text.js index e8b17869..aad5a426 100644 --- a/Example/examples/Text.js +++ b/Example/examples/Text.js @@ -118,29 +118,12 @@ class TextFill extends Component{ class TextPath extends Component{ static title = 'Draw text along path'; - constructor(...args) { - super(...args); - this.state = { - key: 0 - }; - } - - componentDidMount() { - let self = this; - //setInterval(function () { - // self.setState({ - // key: self.state.key + 1 - // }); - //}, 50); - } - render() { return