C# Remove Event Handler after is called or call it just once

Viewed 10577
_cefGlueBrowser.LoadEnd += (s, e) =>
{
    BeginInvoke(new Action(() =>
    {
         MyCefStringVisitor visitor = new MyCefStringVisitor(this, m_url);
         e.Browser.GetMainFrame().GetSource(visitor);
         loaded = true;
    }));
};

But problem is that Event Handler is called many times. After each JS reload for example. How to remove multiple calls. How to call LoadEnd event just once.

I try with

_cefGlueBrowser.LoadEnd -= delegate { };

but not working.

What can i do? I want to call it just once!

4 Answers
Related