Skip to content

Commit

Permalink
no need to override unmap: WindowSource.unmap will call cancel_damage…
Browse files Browse the repository at this point in the history
…, which already calls cleanup_codecs

git-svn-id: https://xpra.org/svn/Xpra/trunk@14310 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 28, 2016
1 parent 0c2eb40 commit fa1c159
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/xpra/server/window/window_video_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,10 +454,6 @@ def get_best_nonvideo_encoding(self, pixel_count, ww, wh, speed, quality, curren
return None #can happen during cleanup!


def unmap(self):
WindowSource.cancel_damage(self)
self.cleanup_codecs()

def cancel_damage(self):
self.video_subregion.cancel_refresh_timer()
self.scroll_data = None
Expand Down

0 comments on commit fa1c159

Please sign in to comment.