Permalink
Browse files

Fix a bug which caused proxy corruption with setters.

Do not override the TiObject* of a JavaScript proxy object.
This was leading to the proxy becoming un-usable since it
no longer pointed to a valid TiObject* instance.
  • Loading branch information...
1 parent 0a92ed8 commit c8f77b407959b2b1564a1c5b970e560c8781a47b Joshua Roesslein committed Mar 19, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/tibb/TiObject.cpp
View
@@ -453,7 +453,6 @@ Handle<Value> TiObject::setPropHelper(const char* propString, Local<Value> value
destObj = srcObj;
}
(destObj->*cb)(value);
- setTiObjectToJsObject(value, destObj);
addMember(destObj, propString);
onSetProperty(propString, value);
srcObj->release();

0 comments on commit c8f77b4

Please sign in to comment.