Skip to content

Conversation

@rochdev
Copy link
Member

@rochdev rochdev commented Jul 18, 2018

This PR fixes the scope manager being instantiated multiple times. Once a scope manager has been created, there should only ever be a single one to avoid attaching hooks multiple times.

It also fixes the mysql and mysql2 integrations missing the parent scope in their respective callbacks. It seems the way tests were setup before the scope manager fix was hiding this bug.

@rochdev rochdev added bug Something isn't working core labels Jul 18, 2018
@rochdev rochdev added this to the 0.4.1 milestone Jul 18, 2018
@rochdev rochdev force-pushed the scope-manager-singleton branch from 2b1db0b to 164d957 Compare July 18, 2018 17:56
@rochdev rochdev force-pushed the scope-manager-singleton branch from 121f231 to d6d99e4 Compare July 18, 2018 18:44
@rochdev rochdev merged commit 7c1b9cc into master Jul 18, 2018
@rochdev rochdev deleted the scope-manager-singleton branch July 18, 2018 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants