-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
The documentation shows that we need defer all the time.
proc mainProc() =
var app = newQApplication()
defer: app.delete()
var engine = newQQmlApplicationEngine()
defer: engine.delete()
var qVar1 = newQVariant(10)
defer: qVar1.delete()
var qVar2 = newQVariant("Hello World")
defer: qVar2.delete()
var qVar3 = newQVariant(false)
defer: qVar3.delete()
var qVar4 = newQVariant(3.5.float)
defer: qVar4.delete()http://filcuc.github.io/nimqml/
Destructors seem to make that superflous. Is this already implemented and the documentation outdated?
Or is it not implementated yet and are you interested in doing that?
Thanks
Metadata
Metadata
Assignees
Labels
No labels