Jump to content

WebWorker demo

Recommended Posts

Problem fixed. We updated the beta channel with the new RTL so you can rerun SmartUpdate and get the fixed files.

Worker is now compiled to the www subfolder so you don't have to copy files around.

Thank you very much for reporting this problem! That one would slip directly under the radar.

P.S. We are aware that worker.js is quite large at the moment. We are working on that.

Share this post

Link to post
Share on other sites

Excellent, works fine! 

A suggestion for our better understanding (and for the fun):

Add a "Disconnect" button.

procedure TForm1.W3Button1Click(Sender: TObject);
  // if not properly destroyed 
  // the worker thread may continue its life in parallel of new ones
  // and still report its work!
  FWorker := nil;


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now