Hi,
1/ I'm facing a segfault as soon as I try to set a channel public
property to null:
var chan = Ape.mkChan("myChan");
chan.setProperty("foo", null);
2/ If I do the same kind of stuff on a user object, I get the same
result (segfault):
Ape.addEvent('adduser', function(user) {
user.setProperty("foo", null);
});
I found this issue while checking if there was any way to remove a
public property previously set on a channel. As far as I looked
around, there seem to be a del_property() function in 'extend.h', but
I found no binding in 'libape-spidermonkey.c'.
Maybe it would be a good idea to add a 'delProperty' function in SSJS
bindings ?
Regards,
Nouk²
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/