flutter_blurhash icon indicating copy to clipboard operation
flutter_blurhash copied to clipboard

Cannot clone a disposed image

Open YDA93 opened this issue 3 years ago • 1 comments

I know this is a duplicated issue.

Please consider a fix. Its causing headache while in development (non fatal exception). As well as in production it's sending so many reports to Crashlytics.

Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Bad state: Cannot clone a disposed image.
The clone() method of a previously-disposed Image was called. Once an Image object has been disposed, it can no longer be used to create handles, as the underlying data may have been released.. Error thrown Instance of 'ErrorDescription'.
       at Image.clone(Image.java)
       at ImageInfo.clone(image_stream.dart:51)
       at ImageStreamCompleter.setImage(image_stream.dart:635)Ï

Screen Shot 2022-04-21 at 10 38 12 PM

YDA93 avatar Apr 21 '22 19:04 YDA93

Same error but this time has led to a crash

Screen Shot 2022-04-24 at 4 18 26 AM

YDA93 avatar Apr 24 '22 01:04 YDA93