Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

Issue with Global refresh event(DataRefreshInvocationEvent) when using for Global view extensions

$
0
0

Hi,

 

We have a couple of global view extensions (vise.global.views) with global refresh event(DataRefreshInvocationEvent) extended.

Method onGlobalRefreshRequest will be called even if the view is not active.As per  laurentsd answer in Re: Inventory Refresh or Global Refresh event on webclient UI  thread. we need to check for _contextObject null value to avoid this.

 

But problem is global views wouldn't have any context. Even if we implement the IContextObjectHolderinterface, web client framework won't set context objects for global view extensions.

So how could we check of the view is active or not?

 

It seems this is a design short-come or a memory leak.

 

NOTE: Our plugin is flex based one and using vSphere client sdk v6.0.

 

 

Thanks,

Sravan


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>