Merge "Fix setName use-after-free" into mnc-dev
This commit is contained in:
@@ -135,7 +135,7 @@ void RenderProxy::setName(const char* name) {
|
|||||||
SETUP_TASK(setName);
|
SETUP_TASK(setName);
|
||||||
args->context = mContext;
|
args->context = mContext;
|
||||||
args->name = name;
|
args->name = name;
|
||||||
post(task);
|
postAndWait(task);
|
||||||
}
|
}
|
||||||
|
|
||||||
CREATE_BRIDGE2(initialize, CanvasContext* context, ANativeWindow* window) {
|
CREATE_BRIDGE2(initialize, CanvasContext* context, ANativeWindow* window) {
|
||||||
|
|||||||
Reference in New Issue
Block a user