Sam Deane

Results 128 comments of Sam Deane

Yeah, it happens too often to be a pure JSC bug I think - web apps would be dying all over the place. If it is a problem in JSC,...

The bug also reproduces in the Mocha 2.0 branch, and it happens on both 10.9 and 10.10, though the stack trace inside the JSC code is (unsurprisingly) different.

I don't think it's necessarily the first GC run is it? Plenty of other objects get finalized before it.

The only crash that I know of that is caused the first time the garbage collector one runs is the crash caused by the workaround that in that commit, if...

(in general @turbobabr the discussion on this issue is about the code without that patch - which is a workaround but not a proper fix as it doesn't address the...

That makes a lot of sense. Nice one.

As it happens I'm working on a partial solution for calling methods that take blocks in Sketch at the moment. The first version will have some major limitations, like only...

Just to be clear, right now this is going to be a Sketch-only thing. It might be possible to back port it into Mocha eventually though.

`MSPluginCommand` supports this: ``` /** Returns a block which can be used as a parameter to other methods/functions. When the block is called, a javascript handler on the command will...

`MSPluginCommand` is part of the Sketch code, it's not open source. I'm afraid I don't work on Sketch any more, but yes, the fact that the function receives a number...