Merge pull request #512 from yarda/scheduler-fix-fd-leaks
plugin_scheduler: fix perf fd leaks
This commit is contained in:
commit
8686b2ba12
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ class SchedulerPlugin(base.Plugin):
|
|||
instance._runtime_tuning = False
|
||||
|
||||
def _instance_cleanup(self, instance):
|
||||
if self._evlist:
|
||||
if instance._evlist:
|
||||
for fd in instance._evlist.get_pollfd():
|
||||
os.close(fd.name)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue