View Single Post
Old 09 August 2016, 11:49   #34
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
Quote:
Originally Posted by Mrs Beanbag View Post
Well, the whole point of using the AMOS banks really is so that you don't need to have lots of files floating about outside the main executable. But your approach means a whopping resource leak every time you run the program, because there is no way to make sure UnLoadSeg is called on program exit...
Better rewrite AMOS itself then


Quote:
Originally Posted by Mrs Beanbag View Post
As for extensions, it might be worthwhile to create OS libraries with all the functionality and then just have a thin wrapper as the AMOS extension.
Yes but then it's CloseLibrary that's not guaranteed to be called. The leak is smaller but still there.


Quote:
Originally Posted by Mrs Beanbag View Post
True but would be fairly trivial to implement.
Trivial yes, but for what gain ?
BVS is one branch out of something like 2000.
meynaf is offline  
 
Page generated in 0.04403 seconds with 11 queries