Difference between solutionModel.removeGlobalVar and delete

Hello,

is there any difference between

solutionModel.removeGlobalVariable()

and

delete globals.myglobalvar

?
thanks

i do think the first only removes it from the blueprint, so it doesn’t actually delete it from the scope (if the scope is already created)

the second i think does delete it from the global scope from your perspective (but not everything is fully cleaned, there is some internal bookkeeping still there)

Ok! Thanks =)