Steffen André Langnes

Results 184 comments of Steffen André Langnes

> The ability to disable the TOC. ToC does not seem to render if the `toc_level` option has a value of `0`. Haven't tested your code so I don't know...

Thanks for the tip! To make sure the information doesn't get lost, @jakenvac's suggestion is as follows: ```diff diff --git a/webview.h b/webview.h index 018b85a..15ee97a 100644 --- a/webview.h +++ b/webview.h @@...

I'm still seeing some kind of memory leak with the autorelease pool. Didn't seem to stop even after 10 GB allocated. I made a branch for working on the fix...

Yes, that's always fun. :) I don't really see any difference. That's plain old C code.

The `NSString` instance stops leaking when using the autorelease pool but sending the `loadHTMLString:baseURL:` message still causes leaks.

With a lower loop iteration count of `1000000`, memory consumption tops at around 2.5 GB. Without the pool it settles at around 2 GB, but with the pool it settles...

I think we can go ahead and implement this seeing that there *is* a great benefit to it.

This PR fixes leaks that occur in `navigate()` and `set_html()`: * #952 It would be good to investigate where else we can use the new `autoreleasepool` class. We can probably...

I am going to close this because solutions have already been posted. In addition the current project readme has information for both Debian- and Fedora-based systems.

I had some doubts about the previously approved work and it took me a while to be able to resume working on this. I made a few more changes and...