| Author | DaveJarvis <email> |
|---|---|
| Date | 2023-01-09 22:31:02 GMT-0800 |
| Commit | 3e3c2016ce61d139c045fb15ffcaea4dda9aa74f |
| Parent | c502b50 |
| Delta | 9 lines added, 0 lines removed, 9-line increase |
| private boolean mCanTypeset; | ||
| + /** | ||
| + * A {@link Task} can only be run once, so wrap it in a {@link Service} to | ||
| + * allow re-launching the typesetting task repeatedly. | ||
| + */ | ||
| private Service<Path> mTypesetService; | ||
| + | ||
| + /** | ||
| + * Prevent a race-condition between checking to see if the typesetting task | ||
| + * is running and restarting the task itself. | ||
| + */ | ||
| private final Object mMutex = new Object(); | ||