Commit Graph

5 Commits

Author SHA1 Message Date
Nathan Sobo
f22fedebcf Inject new instances of native objects into every JS context
This prevents concurrent access to the same state from different
worker threads. We needed to treat windowState specially because we
explicitly want it to last beyond the life-span of a single context.
So we store it as a static variable in `native.mm` and synchronize
access with a static `NSLock`. Good enough for now.
2013-01-24 17:22:50 -08:00
Corey Johnson & Nathan Sobo
1e6e6c4411 Convert git v8 extension to a context binding 2013-01-24 17:22:49 -08:00
Kevin Sawicki
5f400303ac Add ref counting to Git class 2012-12-13 15:23:55 -08:00
Kevin Sawicki
bb201f8e42 💄 2012-11-02 15:33:39 -07:00
Kevin Sawicki
17c3621853 Add native Git v8 extension 2012-11-02 15:30:06 -07:00