Apply additions and removals to OidList fields on DObjects immediately on the server to make it
match DSets and setting attributes. With the old behvaior, if a client subscribed to a DObject and modified an OidList on it in a single pass, it could miss the modification. The DObject is serialized immediately when the server gets the subscription request, but events aren't sent for that subscription till it's processed the next time the omgr queue comes round. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6420 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
{{generated}}
|
||||
public void addTo{{upfield}} (int oid)
|
||||
{
|
||||
requestOidAdd({{capfield}}, oid);
|
||||
requestOidAdd({{capfield}}, {{field}}, oid);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -17,5 +17,5 @@
|
||||
{{generated}}
|
||||
public void removeFrom{{upfield}} (int oid)
|
||||
{
|
||||
requestOidRemove({{capfield}}, oid);
|
||||
requestOidRemove({{capfield}}, {{field}}, oid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user