Commit 06b5ce51 authored by Vicent Marti's avatar Vicent Marti

table.py: Call `__delitem__ when deleting an item :)

parent 392f5edd
...@@ -372,7 +372,7 @@ class PerfEventArray(ArrayBase): ...@@ -372,7 +372,7 @@ class PerfEventArray(ArrayBase):
super(PerfEventArray, self).__init__(*args, **kwargs) super(PerfEventArray, self).__init__(*args, **kwargs)
def __delitem__(self, key): def __delitem__(self, key):
super(PerfEventArray, self).__init__(key) super(PerfEventArray, self).__delitem__(key)
self.close_perf_buffer(key) self.close_perf_buffer(key)
def open_perf_buffer(self, callback): def open_perf_buffer(self, callback):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment