Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

fix memory increase by autorelease when data send #201

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix memory increase by autorelease when data send #201

wants to merge 1 commit into from

Conversation

breaklee
Copy link

there are memory increase issue when call

  • (void) sendEvent:(NSString *)eventName withData:(id)data andAcknowledge:(SocketIOCallback)function

passing call release to main autoreleasepool is not good idea when so many sendData called.
so i've added local @autoreleasepool in sendEvent function

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant