longer disposal timeout
This commit is contained in:
1 parent
08b9f5550a
commit
006b56a7ca
1 file changed
+1
-1
@@ -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