Skip to content

Conversation

wyyolo
Copy link
Contributor

@wyyolo wyyolo commented Mar 14, 2024

No description provided.

@wyyolo wyyolo changed the title fix : release should not be called within NewSinkTube, and the getOrCreateChan logic should be modified fix : release should not be called within NewSourceTube, and the getOrCreateChan logic should be modified Mar 14, 2024
Copy link
Contributor

@RobertIndie RobertIndie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You removed atomic.AddInt32(&q.refCnt, 1) which will lead the reference count not working.

@wyyolo
Copy link
Contributor Author

wyyolo commented Mar 14, 2024

Sorry, this may have been deleted by mistake.

@wyyolo wyyolo marked this pull request as draft March 14, 2024 15:11
@wyyolo wyyolo closed this Mar 17, 2024
@wyyolo wyyolo reopened this Mar 17, 2024
@wyyolo wyyolo changed the title fix : release should not be called within NewSourceTube, and the getOrCreateChan logic should be modified fix : In NewSourceTube, move the getOrCreatChan of goroutine to the outside Mar 17, 2024
@wyyolo wyyolo marked this pull request as ready for review March 17, 2024 11:39
@RobertIndie RobertIndie changed the title fix : In NewSourceTube, move the getOrCreatChan of goroutine to the outside fix : move the getOrCreatChan outside of the goroutine Mar 21, 2024
@RobertIndie RobertIndie merged commit a13633b into FunctionStream:main Mar 21, 2024
@RobertIndie RobertIndie changed the title fix : move the getOrCreatChan outside of the goroutine fix(tube): move the getOrCreatChan outside of the goroutine Mar 21, 2024
@wyyolo wyyolo deleted the fix branch March 22, 2024 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants