]> gitweb.factorcode.org Git - factor.git/commit
Disposables are now registered in a global disposables set. To take advantage of...
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 24 Aug 2009 07:26:13 +0000 (02:26 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 24 Aug 2009 07:26:13 +0000 (02:26 -0500)
commit46045c882eddf0a13dcc2907a6e4a89f082b9acf
tree7b6ba0405f0504cd040d15d1375f2b4c19055f67
parente42216a569dfb1112d899bff41b2475597ce9e5b
Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems
29 files changed:
basis/alien/destructors/destructors.factor
basis/bootstrap/tools/tools.factor
basis/cache/cache.factor
basis/concurrency/mailboxes/mailboxes.factor
basis/core-foundation/fsevents/fsevents.factor
basis/core-text/core-text.factor
basis/help/handbook/handbook.factor
basis/io/backend/unix/unix.factor
basis/io/backend/windows/windows.factor
basis/io/mmap/mmap.factor
basis/io/monitors/linux/linux.factor
basis/io/monitors/monitors.factor
basis/io/monitors/recursive/recursive.factor
basis/io/ports/ports.factor
basis/io/sockets/secure/openssl/openssl.factor
basis/io/sockets/secure/secure.factor
basis/io/sockets/sockets-tests.factor
basis/opengl/textures/textures.factor
basis/pango/layouts/layouts.factor
basis/tools/deploy/shaker/shaker.factor
basis/tools/deploy/shaker/strip-destructors.factor [new file with mode: 0644]
basis/tools/destructors/authors.txt [new file with mode: 0644]
basis/tools/destructors/destructors-docs.factor [new file with mode: 0644]
basis/tools/destructors/destructors.factor [new file with mode: 0644]
basis/windows/com/wrapper/wrapper.factor
basis/windows/uniscribe/uniscribe.factor
core/destructors/destructors-docs.factor
core/destructors/destructors.factor
core/io/streams/c/c.factor