hengine | A 2D graphic engine for javascript/typescript | Graphics library
kandi X-RAY | hengine Summary
kandi X-RAY | hengine Summary
hengine is a 2D graphic engine with many basic functionalities such as scene management, graphic rendering, interaction detection and a simple physics engine. With hengine, you can easily create your own 2D games. Also, you can use hengine to present other awesome 2D graphics.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of hengine
hengine Key Features
hengine Examples and Code Snippets
Community Discussions
Trending Discussions on hengine
QUESTION
according to this documentation i have to dispose the handles when i close the program.
...ANSWER
Answered 2019-Mar-29 at 08:49It's in the form closing event, which, okay, yes, if you're building a single form application will also be when the program closes but I think is probably meant to be illustrative of the general principle that you clean up after you're done using things.
You're right in general that if the program's about to exit, you don't need to do such tidying. As Raymond Chen puts it:
The building is being demolished. Don’t bother sweeping the floor and emptying the trash cans and erasing the whiteboards. And don’t line up at the exit to the building so everybody can move their in/out magnet to out. All you’re doing is making the demolition team wait for you to finish these pointless housecleaning tasks.
OS handles will be reclaimed when the process exits. However, if you're communicating with external hardware, it may be cleaner to delete the handles if this places the hardware back into a known-good state (this does beg the question of what's meant to happen if your program crashes however)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hengine
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page