Skip to content

Commit

Permalink
ignore disposed nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Nov 3, 2016
1 parent 2f48a24 commit 09ba4a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cdb/jq/Dom.hx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ class Dom {
inline function get_numChildren() return childs.length;

inline function send(msg) {
if( id < 0 ) throw "Can't change disposed node";
client.send(msg);
if( id >= 0 ) client.send(msg);
}

@:access(cdb.jq.Client)
Expand Down

0 comments on commit 09ba4a4

Please sign in to comment.