Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Fuse Crash when Unmounting Views #36

Closed
dthian opened this issue Oct 2, 2017 · 1 comment
Closed

On Fuse Crash when Unmounting Views #36

dthian opened this issue Oct 2, 2017 · 1 comment

Comments

@dthian
Copy link
Member

dthian commented Oct 2, 2017

Issue: Views with an onFuse callback, that has code to unmount itself, crashes.

For example:

_getImage() {
    if (this.state.showImage) {
      return (
        <ViroImage position={[0, 0, -1]}
          source={{uri: "https://images.sftcdn.net/images/t_optimized,f_auto/p/50d2f4ce-96d1-11e6-8a53-00163ed833e7/3980672443/google-earth-screenshot.jpg"}}
          onFuse={()=>{this.setState({showImage : false})}} />
      );
    } else {
      return;
    }
  }

@dthian
Copy link
Member Author

dthian commented Oct 16, 2017

This should have been fixed by build 2.0.1 as mentioned at http://docs.viromedia.com/docs/releases. Closing.

@dthian dthian closed this as completed Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant