Skip to content

Commit

Permalink
reset_state() did nothing
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@21766 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 21, 2019
1 parent a46b855 commit 4ba5f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/codecs/cuda_common/cuda_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def check_devices():
def reset_state():
log("cuda_context.reset_state()")
global DEVICE_STATE
DEVICES = None
DEVICE_STATE = {}


def select_device(preferred_device_id=-1, preferred_device_name=None, min_compute=0):
Expand Down

0 comments on commit 4ba5f34

Please sign in to comment.