Skip to content

Commit

Permalink
fix race condition initializing WriterJob attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Wickern <[email protected]>
  • Loading branch information
dwickern authored and jeber-ibm committed Sep 23, 2024
1 parent 9507dc6 commit c0fb1c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ private synchronized void buildAttrIDsToRtv()
{
if (!fAttrIDsToRtvBuilt_)
{
fAttrIDsToRtvBuilt_ = true;
attrsToRetrieve_.addAttrID(PrintObject.ATTR_WTRJOBNAME); // writer job name
attrsToRetrieve_.addAttrID(PrintObject.ATTR_WTRJOBNUM); // writer job number
attrsToRetrieve_.addAttrID(PrintObject.ATTR_WTRJOBSTS); // writer job status
attrsToRetrieve_.addAttrID(PrintObject.ATTR_WTRJOBUSER); // writer job user name
fAttrIDsToRtvBuilt_ = true;
}
}

Expand Down

0 comments on commit c0fb1c8

Please sign in to comment.