1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Remove unused loader argument from Plugin initializer

This commit is contained in:
Bart de Water 2019-12-24 16:25:40 -05:00
parent b646fc5223
commit 62eae2683d
2 changed files with 4 additions and 5 deletions

View file

@ -10,6 +10,9 @@
* Your bugfix goes here (#Github Number)
* Windows update extconf.rb for use with ssp and varied Ruby/MSYS2 combinations (#2069)
* Refactor
* Remove unused loader argument from Plugin initializer (#2095)
## 4.3.1 and 3.12.2 / 2019-12-05
* Security

View file

@ -10,7 +10,7 @@ module Puma
def create(name)
if cls = Plugins.find(name)
plugin = cls.new(Plugin)
plugin = cls.new
@instances << plugin
return plugin
end
@ -104,10 +104,6 @@ module Puma
Plugins.register name, cls
end
def initialize(loader)
@loader = loader
end
def in_background(&blk)
Plugins.add_background blk
end