mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
Remove dispose from public div-context
9f09d0c46966e63b6612f45fec82592beb8ca7f3
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
## 0.1.6-pre
|
||||
* Correct interpretation of dict in variables context
|
||||
* Add support of longtap actions
|
||||
* Remove dispose from public div-context
|
||||
|
||||
## 0.1.5
|
||||
* Templater support: templates can be inherited, composited, links and transitive links to fields.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
PODS:
|
||||
- div_expressions_resolver (0.4.1):
|
||||
- div_expressions_resolver (0.4.2):
|
||||
- DivKit (~> 29.0)
|
||||
- Flutter
|
||||
- DivKit (29.15.1):
|
||||
@@ -76,7 +76,7 @@ EXTERNAL SOURCES:
|
||||
:path: ".symlinks/plugins/sqflite/darwin"
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
div_expressions_resolver: 6734959e5feaf44241ea4d4888274eeca9557586
|
||||
div_expressions_resolver: cfd6eedb1a599d16fbfed6b25d2709cf8b3807da
|
||||
DivKit: 96a1189bbb1286544119551819db721237edc49a
|
||||
DivKit_LayoutKit: d8cd3826a2d004b159517d514e1580467f89efc3
|
||||
DivKit_LayoutKitInterface: 805245d61e6525632171de529592afb880692cae
|
||||
|
||||
@@ -247,7 +247,7 @@ class _DivKitViewState extends State<_DivKitView> {
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
divContext.dispose();
|
||||
divRootContext.dispose();
|
||||
triggerManager.dispose();
|
||||
|
||||
loggerUse(loggerContext).debug("Dispose DivKitView $hashCode");
|
||||
|
||||
@@ -14,8 +14,6 @@ abstract class DivContext {
|
||||
DivTimerManager get timerManager;
|
||||
|
||||
FocusNode? getFocusNode(String divId);
|
||||
|
||||
Future<void> dispose();
|
||||
}
|
||||
|
||||
class DivRootContext extends DivContext {
|
||||
@@ -61,7 +59,6 @@ class DivRootContext extends DivContext {
|
||||
return null;
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> dispose() async {
|
||||
_stateManager?.dispose();
|
||||
await _timerManager?.dispose();
|
||||
|
||||
Reference in New Issue
Block a user