refactor: use WeakRef on renderer side of remote (#24037)

This commit is contained in:
Jeremy Rose 2020-06-12 15:50:03 -07:00 committed by GitHub
parent 178e46cd23
commit 379bb174e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 117 deletions

View file

@ -46,7 +46,6 @@ declare namespace NodeJS {
getWeaklyTrackedValues(): any[];
addRemoteObjectRef(contextId: string, id: number): void;
setRemoteCallbackFreer(fn: Function, contextId: string, id: number, sender: any): void
setRemoteObjectFreer(object: any, contextId: string, id: number): void
}
type DataPipe = {