What happens to event and memory it uses when it's fired no handler is registered?

0 votes
asked Mar 16, 2016 by the_stelzl (130 points)
What happens to Reactor-EventBus event and memory itself and its data payload use when it's fired and there's no handler registered. I have no idea what is the cause of the issue and whatdoesn thie error mean

5 Answers

0 votes
answered Mar 22, 2016 by shelite (310 points)
The compiler doesn't like it to assign an other value to an event.
Furthermore, an event can only be invoked from the class where it is declared.
Weak events is one way to solve the potential problem.
+1 vote
answered Mar 27, 2016 by Guvnot (590 points)

If the event is not handled, a memory stream is internally created and used.
commented Mar 29, 2016 by levels_9987 (800 points)
NET Framework several years ago
0 votes
answered Mar 30, 2016 by Bir2674 (1,470 points)
–1 vote
answered Apr 6, 2016 by albertha (1,470 points)
I thought that I might add this snippet to this old post. This When loading large PDF document, OutOfMemory error happens ... works perfectly
commented Apr 8, 2016 by sadakvandes (440 points)
It simulates some clicks using the Button
0 votes
answered Apr 8, 2016 by Jbe5990 (490 points)
For more information about why they were removed, see Advanced JavaScript Event Handling - HTML Goodies

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!