I have an Android live wallpaper that I suspect is leaking memory, probably either textures or vertex arrays. I'm calling glDeleteTextures on my texture IDs, but don't see any sort of equivalent for my vertex buffers. I'd like to be able to be sure both my textures and buffers are getting unloaded by OpenGL, am i missing something?
Th...
I have a series of actions I want to perform on page unload. Namely if a user is editing an input field, and they refresh or close browser or leave page, I want to save the contents of the field.
The actions don't include an AJAX call, so I can't just make it synchronous. It's actually saving to local storage, but the page unloads b...
1) With MEF, I compose my DLL
2) I work with my DLL
3) I recompose without this DLL
4) I want to delete it // => it doesn't work
How can I unload a dll in order to delete it after a MEF recomposition in which this dll is not composed ?
...
Unload Event can be triggered both by Refresh action and Window Close action. is there a way to distinguish which action that actually trigger it? In my situation, i want to ignore the Refresh action. Could you please give me some insight what the work around is?
I noticed that there is already this sort of question asked, but it seems ...
Hello
I have a JSF web app which, after some user manipulation, opens a connection to an IBM MQ Q Manager, ie does something.
When the user navigates away from the page (using FF only) or closes the browser, I would like my app to detect this and close the connection gracefully.
All I can find thus far on the web are references to wind...
Hi,
Is it possible to figure out just wich type of event triggered $(window).unload();? To be a bit more specific, I'm only interested in the event when a user has closed the window (a popup), not when he's just navigating away from the current page.
I've looked into the event parameter passed to the callback of unload(); but there doe...
Is it possible for a function that is inside a DLL to unload the DLL? I need to do this so I can make sure the DLL is not in use, then write to the DLL's file.
...
I would like to execute some code when a user closes a form using the x button in the top right corner of the window (I have the form load when the excel spreadsheet is opened, and it hides Excel. I want to exit excel once the form is closed, or at least show excel again so the user may exit it manually)
Looking at the form properties, ...
In my page, i have some functions registered to unload event. The functions are called, when i refresh the page, meaning the unload event happens. But this fails when i come to the page after submitting a form. When i refresh, it asks if it can send the data again (submit the form again) i give okay and the page reloads. But the function...
I need a method to monitor user edit sessions, and one of the solutions I'm reviewing will have me using an unload event to send an ajax request to inform the server of the end of the edit session. (See: http://stackoverflow.com/questions/3530165/monitoring-user-sessions-to-prevent-editing-conflict)
My (rather limited) reading on the un...
Here's my swf loading code:
function loadBall(e:MouseEvent):void{
var mLoader:Loader = new Loader();
var mRequest:URLRequest = new URLRequest("ball.swf");
mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
mLoader.load(mReq...
I am going to school for web design and I have a project coming up. The old code I had for URLRequest is not working for some reason. For some reason it will open any new swf, but not unload the previous one?!?
does anyone know how to do this properly?
...
Hi Everyone,
How can i unload a viewController class when i switch to another view, so the class file won't run in the background anymore?
Thanks for help!
...
Apart from Dll concept that provides ability of loading/unloading methods or functions at run-time, I'm wondering if a compiler may ever say something like, ok as this particular part of the code takes considerable amount of space in code segment and is never gonna be used again after this point during program execution, it'd be good to ...
So here is the story so far, I have this worker thingy which uses an AppDomain to perform some task. The domain is expensive to setup and teardown. So I create a cache per-thread of WeakReference objects to the worker thingy like so:
class Worker
{
[ThreadStatic]
static Dictionary<string, WeakReference> _workers;
public s...