longer disposal timeout
This commit is contained in:
@@ -40,7 +40,7 @@ class EquatableImage {
|
|||||||
if (_isDisposed) return;
|
if (_isDisposed) return;
|
||||||
_isDisposed = true;
|
_isDisposed = true;
|
||||||
// Delay disposal to allow widgets to finish rendering
|
// Delay disposal to allow widgets to finish rendering
|
||||||
Future.delayed(const Duration(milliseconds: 500), () {
|
Future.delayed(const Duration(seconds: 3), () {
|
||||||
_value?.dispose();
|
_value?.dispose();
|
||||||
_value = null;
|
_value = null;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user