remove graph lines vector from app type, so the vector can be garbage collected (it is not really needed)

This commit is contained in:
2024-08-13 23:49:34 +01:00
parent 6878f7fa58
commit 0c76edfde2
7 changed files with 11 additions and 31 deletions

View File

@@ -19,12 +19,7 @@ struct
AppInit.fromWindowWidthAndHeight
(Constants.windowWidth, Constants.windowHeight)
val graphLines =
let
open AppType
in
#graphLines initialModel
end
val graphLines = GraphLines.generate initialModel
val graphDrawObject = AppDraw.initGraphLines ()
val _ = AppDraw.uploadGraphLines (graphDrawObject, graphLines)