Filename issue - not recording full filename in manifest
Broekn by change to get response on L0 completion, SFT was informing penciller of the filename passed in (without extension), not the completed one with the extension.
This commit is contained in:
parent
87b5bd0b18
commit
9e410d65e3
1 changed files with 2 additions and 7 deletions
|
@ -363,7 +363,7 @@ handle_cast({sft_newfroml0cache, Filename, Slots, FetchFun, PCL}, _State) ->
|
|||
{noreply, State};
|
||||
_ ->
|
||||
leveled_penciller:pcl_confirml0complete(PCL,
|
||||
Filename,
|
||||
State#state.filename,
|
||||
State#state.smallest_key,
|
||||
State#state.highest_key),
|
||||
{noreply, State}
|
||||
|
@ -388,12 +388,7 @@ terminate(Reason, State) ->
|
|||
ok = file:close(State#state.handle),
|
||||
ok = file:delete(State#state.filename);
|
||||
_ ->
|
||||
case State#state.handle of
|
||||
undefined ->
|
||||
ok;
|
||||
Handle ->
|
||||
ok = file:close(Handle)
|
||||
end
|
||||
ok = file:close(State#state.handle)
|
||||
end.
|
||||
|
||||
code_change(_OldVsn, State, _Extra) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue