Fix so that RamWatch & RamSearch update values is not running in the frame loop when they aren't open
This commit is contained in:
parent
f38c452da0
commit
c2fec29463
|
@ -45,6 +45,7 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
public void UpdateValues()
|
public void UpdateValues()
|
||||||
{
|
{
|
||||||
|
if (!this.IsHandleCreated || this.IsDisposed) return;
|
||||||
for (int x = 0; x < searchList.Count; x++)
|
for (int x = 0; x < searchList.Count; x++)
|
||||||
{
|
{
|
||||||
searchList[x].prev = searchList[x].value;
|
searchList[x].prev = searchList[x].value;
|
||||||
|
|
|
@ -47,6 +47,7 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
public void UpdateValues()
|
public void UpdateValues()
|
||||||
{
|
{
|
||||||
|
if (!this.IsHandleCreated || this.IsDisposed) return;
|
||||||
for (int x = 0; x < watchList.Count; x++)
|
for (int x = 0; x < watchList.Count; x++)
|
||||||
{
|
{
|
||||||
watchList[x].prev = watchList[x].value;
|
watchList[x].prev = watchList[x].value;
|
||||||
|
|
Loading…
Reference in New Issue