Skip to content

Commit dd74d66

Browse files
committed
Weaken the plugin attribute in Role::Provider to avoid mem cycle
1 parent f1af0b3 commit dd74d66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Dancer2/Plugin/Auth/Extensible/Role/Provider.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Required.
3030
has plugin => (
3131
is => 'ro',
3232
required => 1,
33+
weaken => 1,
3334
);
3435

3536
=head2 disable_roles

0 commit comments

Comments
 (0)